prepack icon indicating copy to clipboard operation
prepack copied to clipboard

Bad command-line crashes Prepack

Open NTillmann opened this issue 5 years ago • 0 comments

This triggers an invariant violation.

node lib/prepack-cli.js --debugDiagnosticSeverity foo

It shouldn't. The command-line argument processing should rather print a user-friendly error message in such cases and exit, like it already happens for most or all other bad arguments.

NTillmann avatar Aug 30 '18 02:08 NTillmann