File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -3317,6 +3317,7 @@ void SetupProcessObject(Environment* env,
3317
3317
READONLY_PROPERTY (process, " _forceRepl" , True (env->isolate ()));
3318
3318
}
3319
3319
3320
+ // -r, --require
3320
3321
if (preload_module_count) {
3321
3322
CHECK (preload_modules);
3322
3323
Local<Array> array = Array::New (env->isolate ());
@@ -3339,10 +3340,12 @@ void SetupProcessObject(Environment* env,
3339
3340
READONLY_PROPERTY (process, " noDeprecation" , True (env->isolate ()));
3340
3341
}
3341
3342
3343
+ // --no-warnings
3342
3344
if (no_process_warnings) {
3343
3345
READONLY_PROPERTY (process, " noProcessWarnings" , True (env->isolate ()));
3344
3346
}
3345
3347
3348
+ // --trace-warnings
3346
3349
if (trace_warnings) {
3347
3350
READONLY_PROPERTY (process, " traceProcessWarnings" , True (env->isolate ()));
3348
3351
}
You can’t perform that action at this time.
0 commit comments