Correct validation error message

This commit is contained in:
khai96_ committed 2020-05-09 19:52:48 +07:00
1 parent 7a5d08caa7
commit 91d3d73121
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -40,7 +40,7 @@ function parseRunInstall(name: string): RunInstall[] {
const validate = ajv.compile(runInstallSchema)
if (!validate(result)) {
for (const errorItem of validate.errors!) {
error(`${errorItem.dataPath}: ${errorItem.message}`)
error(`with.run_install${errorItem.dataPath}: ${errorItem.message}`)
}
return process.exit(1)
}