Skip to content

repl: avoid interpreting 'npm' as a command when errors are recoverable

Rodrigo Muino Tomonari requested to merge github/fork/islandryu/fix/repl-npm into main

This change ensures that 'npm' within JavaScript code is not mistakenly interpreted as an npm command when the error is recoverable. This allows 'npm' to be treated as expected in such scenarios.

Fixes: https://github.com/nodejs/node/issues/54830

Merge request reports

Loading