Merge pull request #6556 from loganfsmyth/early-validation

Strictly validate Babel's options to centralize Flow refinement of datatype
This commit is contained in:
Logan Smyth
2017-11-02 16:24:36 -07:00
committed by GitHub
11 changed files with 679 additions and 460 deletions

View File

@@ -242,6 +242,7 @@ delete opts.quiet;
delete opts.configFile;
delete opts.deleteDirOnStart;
delete opts.keepFileExtension;
delete opts.relative;
// Commander will default the "--no-" arguments to true, but we want to leave them undefined so that
// @babel/core can handle the default-assignment logic on its own.