diff --git a/overrides/path/node b/overrides/path/node index ee1061ca..6c243754 100755 --- a/overrides/path/node +++ b/overrides/path/node @@ -38,7 +38,7 @@ PREPEND_PATH="$SCRIPT_DIR/../js/prepend-node.js" # Call node with the given arguments, prefixed with our extra logic if command -v winpty >/dev/null 2>&1; then - winpty "$real_node" -r "$PREPEND_PATH" "$@" + winpty "$real_node" "$@" else - "$real_node" -r "$PREPEND_PATH" "$@" + "$real_node" "$@" fi \ No newline at end of file diff --git a/overrides/path/node.bat b/overrides/path/node.bat index 54f32247..093a0c5a 100755 --- a/overrides/path/node.bat +++ b/overrides/path/node.bat @@ -13,4 +13,4 @@ REM Reset PATH, so its visible to node & subprocesses set PATH=%ORIGINALPATH% REM Start Node for real, with an extra arg to inject our logic -"%REAL_NODE%" -r "%WRAPPER_FOLDER%\..\js\prepend-node.js" %* \ No newline at end of file +"%REAL_NODE%" %* \ No newline at end of file