File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -774,9 +774,11 @@ if they had been specified on the command line before the actual command line
774774(so they can be overridden). Node.js will exit with an error if an option
775775that is not allowed in the environment is used, such as ` -p ` or a script file.
776776
777- In case an option happens to contain a space or a backslash (for example within
778- the path passed to ` --require ` ), they must be escaped using an additional
779- backslash.
777+ In case an option value happens to contain a space (for example a path listed in
778+ ` --require ` ), it must be escaped using double quotes. For example:
779+ ```
780+ --require "./my path/file.js"
781+ ```
780782
781783Node.js options that are allowed are:
782784- ` --diagnostic-report-directory `
You can’t perform that action at this time.
0 commit comments