Archived
1
0

Formatting and linting fixes

This commit is contained in:
Anmol Sethi
2021-01-14 10:55:19 -05:00
parent 60233d0974
commit 5c06646f58
4 changed files with 18 additions and 15 deletions

View File

@ -529,8 +529,8 @@ export async function readConfigFile(configPath?: string): Promise<ConfigArgs> {
* configPath is used as the filename in error messages
*/
export function parseConfigFile(configFile: string, configPath: string): ConfigArgs {
if (configFile == "") {
return { _: [], config: configPath }
if (!configFile) {
return { _: [], config: configPath }
}
const config = yaml.safeLoad(configFile, {