diff options
author | cjihrig <cjihrig@gmail.com> | 2019-12-15 19:30:45 +0300 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2019-12-18 04:35:12 +0300 |
commit | 2b06166c76758e9394e2136b724f10ba9eb44589 (patch) | |
tree | e52f1844c250d69faf95bff5546567b6b8f56391 /lib/internal/bootstrap | |
parent | b6c589fde50b5b69a77fa6f316bccbc9ff259f48 (diff) |
doc,lib,src,test: rename WASI CLI flag
The WASI API has moved from preview0 to preview1. This commit
updates the CLI flag accordingly.
PR-URL: https://github.com/nodejs/node/pull/30980
Reviewed-By: David Carlier <devnexen@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Diffstat (limited to 'lib/internal/bootstrap')
-rw-r--r-- | lib/internal/bootstrap/pre_execution.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/internal/bootstrap/pre_execution.js b/lib/internal/bootstrap/pre_execution.js index 47c709b424e..40dabdda504 100644 --- a/lib/internal/bootstrap/pre_execution.js +++ b/lib/internal/bootstrap/pre_execution.js @@ -404,7 +404,7 @@ function initializeWASI() { const { NativeModule } = require('internal/bootstrap/loaders'); const mod = NativeModule.map.get('wasi'); mod.canBeRequiredByUsers = - getOptionValue('--experimental-wasi-unstable-preview0'); + getOptionValue('--experimental-wasi-unstable-preview1'); } function initializeCJSLoader() { |