repl:null check when invoked from cmdline with throw null
Checklist
-
make -j8 test
(UNIX), orvcbuild test nosign
(Windows) passes -
tests and/or benchmarks are included -
documentation is changed or added -
commit message follows commit guidelines
Affected core subsystem(s)
repl
Description of change
Null check added for flow executed from command line. Test case: test/parallel/test-repl-throw-null.js