diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2020-08-11 21:40:23 +0900 |
---|---|---|
committer | Shin'ya Ueoka <ueokande@i-beam.org> | 2020-08-11 21:40:23 +0900 |
commit | 0b98a22eba4f7bbac215abd800293ac2be67b24d (patch) | |
tree | ae78b7edc460a79708742bff55c4c6fa55699e47 /src/shared/settings/Settings.ts | |
parent | f497109ecc801660dc23bbad8445b120cd75561e (diff) |
Enable @typescript-eslint/no-extra-non-null-assertion
Diffstat (limited to 'src/shared/settings/Settings.ts')
-rw-r--r-- | src/shared/settings/Settings.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/settings/Settings.ts b/src/shared/settings/Settings.ts index 6f178ea..f37fbf0 100644 --- a/src/shared/settings/Settings.ts +++ b/src/shared/settings/Settings.ts @@ -43,7 +43,7 @@ export default class Settings { const valid = validate(json); if (!valid) { const message = (validate as any) - .errors!!.map((err: Ajv.ErrorObject) => { + .errors!.map((err: Ajv.ErrorObject) => { return `'${err.dataPath}' ${err.message}`; }) .join("; "); |