Skip to content

Commit

Permalink
process/flags: add --input-type flag. see nodejs/node#27184.
Browse files Browse the repository at this point in the history
  • Loading branch information
chjj committed Apr 19, 2019
1 parent e52a561 commit 9ccdd87
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/process/flags.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ const isolateOptions = new Set([
'--trace-sync-io',
'--trace-warnings',
'--entry-type',
'--input-type',
'-c', '--check',
'-e', '--eval',
'-p', '--print',
Expand Down Expand Up @@ -116,6 +117,7 @@ const valueOptions = new Set([
'--es-module-specifier-resolution',
'--redirect-warnings',
'--entry-type',
'--input-type',
'-e', '--eval',
'-p', '--print',
'-r', '--require',
Expand Down Expand Up @@ -167,6 +169,7 @@ const invalidOptions = new Set([

// Bad idea to allow this right now.
'--entry-type',
'--input-type',

// At some point in the future, --frozen-intrinsics
// may disallow us from hooking into the console.
Expand Down

0 comments on commit 9ccdd87

Please sign in to comment.