prepack
prepack copied to clipboard
Bad command-line crashes Prepack
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.