diff options
-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 6c4fa0a..2294c67 100644 --- a/src/shared/settings/Settings.ts +++ b/src/shared/settings/Settings.ts @@ -44,7 +44,7 @@ export default class Settings { if (!valid) { const message = (validate as any) .errors!.map((err: Ajv.ErrorObject) => { - return `'${err.dataPath}' ${err.message}`; + return `'${err.instancePath}' ${err.message}`; }) .join("; "); throw new TypeError(message); |