-
-
Notifications
You must be signed in to change notification settings - Fork 35.5k
Error message possible typo in node_zlibΒ #16987
Copy link
Copy link
Closed
Labels
c++Issues and PRs that require attention from people who are familiar with C++.Issues and PRs that require attention from people who are familiar with C++.zlibIssues and PRs related to the zlib subsystem.Issues and PRs related to the zlib subsystem.
Metadata
Metadata
Assignees
Labels
c++Issues and PRs that require attention from people who are familiar with C++.Issues and PRs that require attention from people who are familiar with C++.zlibIssues and PRs related to the zlib subsystem.Issues and PRs related to the zlib subsystem.
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.