Merge pull request #1999 from cdr/update

Update dependencies in package.json
This commit is contained in:
Anmol Sethi
2020-08-27 13:17:18 -04:00
committed by GitHub
6 changed files with 1577 additions and 1399 deletions

View File

@ -365,6 +365,9 @@ export async function readConfigFile(configPath?: string): Promise<Args> {
const config = yaml.safeLoad(configFile.toString(), {
filename: configPath,
})
if (!config || typeof config === "string") {
throw new Error(`invalid config: ${config}`)
}
// We convert the config file into a set of flags.
// This is a temporary measure until we add a proper CLI library.