This repository has been archived by the owner on Feb 12, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bad command-line for debugDiagnosticSeverity does not crashes Prepack…
… anymore (#2545) Summary: This can be a possible fix for #2509 I have removed the `invariant` method call and added a value check as used for the _invariantMode_ option. `node lib/prepack-cli.js --debugDiagnosticSeverity foo` will now generate `Unsupported debugDiagnosticSeverity: foo` Pull Request resolved: #2545 Differential Revision: D9800485 Pulled By: hermanventer fbshipit-source-id: edc24b4a812b4e32f9c48e05a0799bf4af431991
- Loading branch information