1
0
mirror of https://github.com/sasjs/lint.git synced 2025-12-10 17:34:36 +00:00

fix(*): remove warning when unable to find sasjslint file

This commit is contained in:
Krishna Acondy
2021-04-02 14:04:53 +01:00
parent fb4cc2dd20
commit 8dec4f7129

View File

@@ -27,7 +27,6 @@ export async function getLintConfig(): Promise<LintConfig> {
const configuration = await readFile(
path.join(projectRoot, '.sasjslint')
).catch((_) => {
console.warn('Unable to load .sasjslint file. Using default configuration.')
return JSON.stringify(DefaultLintConfiguration)
})
return new LintConfig(JSON.parse(configuration))