Whitespace and newlines.
This commit is contained in:
@@ -24,7 +24,6 @@ export function readConfigFile(filePath: string = CONFIG_FILEPATH): Configuratio
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
var data = fs.readFileSync(path.resolve(filePath), "utf-8");
|
var data = fs.readFileSync(path.resolve(filePath), "utf-8");
|
||||||
|
|
||||||
} catch (error: any) {
|
} catch (error: any) {
|
||||||
if (error.code && error.code === 'ENOENT') {
|
if (error.code && error.code === 'ENOENT') {
|
||||||
return defaultOptions
|
return defaultOptions
|
||||||
|
|||||||
@@ -16,7 +16,6 @@ export function filterChangesBySeverity(severity: Severity, changes: Changes): C
|
|||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// don't want to deal with changes with no vulnerabilities
|
// don't want to deal with changes with no vulnerabilities
|
||||||
|
|||||||
Reference in New Issue
Block a user