Skip to content

lib: .load .save add proper error message when no file passed

This commit adds a proper error message using ERR_MISSING_ARGS('file') when a .save or .load REPL command is runned. This commit also adds test for both of this cases.

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

Merge request reports

Loading