Skip to content

Commit 9ccdd87

Browse files
committed
process/flags: add --input-type flag. see nodejs/node#27184.
1 parent e52a561 commit 9ccdd87

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/process/flags.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ const isolateOptions = new Set([
4949
'--trace-sync-io',
5050
'--trace-warnings',
5151
'--entry-type',
52+
'--input-type',
5253
'-c', '--check',
5354
'-e', '--eval',
5455
'-p', '--print',
@@ -116,6 +117,7 @@ const valueOptions = new Set([
116117
'--es-module-specifier-resolution',
117118
'--redirect-warnings',
118119
'--entry-type',
120+
'--input-type',
119121
'-e', '--eval',
120122
'-p', '--print',
121123
'-r', '--require',
@@ -167,6 +169,7 @@ const invalidOptions = new Set([
167169

168170
// Bad idea to allow this right now.
169171
'--entry-type',
172+
'--input-type',
170173

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

0 commit comments

Comments
 (0)