Skip to content

Error message possible typo in node_zlib #16987

@amarchino

Description

@amarchino
  • Version: v9.1.0
  • Platform: Windows 10 x64, v 1709 (OS build 16299.19)
  • Subsystem: zlib

After upgrading to Node v9.1.0 (and reading the changelog. Always read the changelog) I found a possible typo in the error message introduced in #16657 .
After issuing a refresh of the dependencies (to ensure that the native modules of my project keep working), I found the message
src\node_zlib.cc:437: Assertion `args.Length() == 7 && "init(windowBits, level, memLevel, strategy, writeResult, writeCallback," " dictionary)"' failed.
The error is actually correct (one of the dependencies has a transitive dependency on an older version of node-tar, triggering the warning and the subsequent error), but it seems to me that the error message is wrong.
Should there be a comma between the quotes and the word dictionary? Or are the quotes erroneous?

Thanks for the attention.

Metadata

Metadata

Assignees

No one assigned

    Labels

    c++Issues and PRs that require attention from people who are familiar with C++.zlibIssues and PRs related to the zlib subsystem.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions