Skip to content

Commit

Permalink
src: improve message regarding N-API experimental status
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriel Schulhof authored and jasongin committed Mar 23, 2017
1 parent 876e6c8 commit b129624
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/node.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2470,9 +2470,9 @@ void DLOpen(const FunctionCallbackInfo<Value>& args) {
snprintf(errmsg,
sizeof(errmsg),
"The module '%s'"
"\nwas compiled against the Node.js API. This feature is "
"\nexperimental and must be enabled on the command-line by "
"\nadding --napi-modules.",
"\nwas compiled against the ABI-stable Node.js API (N-API)."
"\nThis feature is experimental and must be enabled on the "
"\ncommand-line by adding --napi-modules.",
*filename);
} else {
snprintf(errmsg,
Expand Down

0 comments on commit b129624

Please sign in to comment.