Correct validation error message
This commit is contained in:
parent
7a5d08caa7
commit
91d3d73121
BIN
dist/index.js
vendored
BIN
dist/index.js
vendored
Binary file not shown.
@ -40,7 +40,7 @@ function parseRunInstall(name: string): RunInstall[] {
|
|||||||
const validate = ajv.compile(runInstallSchema)
|
const validate = ajv.compile(runInstallSchema)
|
||||||
if (!validate(result)) {
|
if (!validate(result)) {
|
||||||
for (const errorItem of validate.errors!) {
|
for (const errorItem of validate.errors!) {
|
||||||
error(`${errorItem.dataPath}: ${errorItem.message}`)
|
error(`with.run_install${errorItem.dataPath}: ${errorItem.message}`)
|
||||||
}
|
}
|
||||||
return process.exit(1)
|
return process.exit(1)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user