Whitespace and newlines.

This commit is contained in:
Federico Builes
2022-05-31 16:54:59 +02:00
parent f0a04841ce
commit 982e1d16cb
2 changed files with 1 additions and 3 deletions

View File

@@ -24,7 +24,6 @@ export function readConfigFile(filePath: string = CONFIG_FILEPATH): Configuratio
try {
var data = fs.readFileSync(path.resolve(filePath), "utf-8");
} catch (error: any) {
if (error.code && error.code === 'ENOENT') {
return defaultOptions

View File

@@ -16,10 +16,9 @@ export function filterChangesBySeverity(severity: Severity, changes: Changes): C
return true
}
})
}
// don't want to deal with changes with no vulnerabilities
changes = changes.filter((change: any) => change.vulnerabilities.length > 0)
return changes
}
}