Skip to content

Commit

Permalink
Add warning about experimental status (nodejs#163)
Browse files Browse the repository at this point in the history
  • Loading branch information
jasongin authored Mar 19, 2017
1 parent 795ba36 commit 7e2cbb9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/node.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4480,6 +4480,11 @@ inline int Start(Isolate* isolate, IsolateData* isolate_data,
if (debug_enabled)
EnableDebug(&env);

if (load_napi_modules) {
ProcessEmitWarning(&env, "N-API is an experimental feature "
"and could change at any time.");
}

{
SealHandleScope seal(isolate);
bool more;
Expand Down

0 comments on commit 7e2cbb9

Please sign in to comment.