From 91d3d7312179459629024110a2cef75b11888d85 Mon Sep 17 00:00:00 2001 From: khai96_ Date: Sat, 9 May 2020 19:52:48 +0700 Subject: [PATCH] Correct validation error message --- dist/index.js | Bin 210072 -> 210088 bytes src/inputs/index.ts | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/index.js b/dist/index.js index f7c7a068c8fe92d0a61331857d607eafcb512f0e..53920a663e513b2ac32a005e57e1cc3146fbacc5 100644 GIT binary patch delta 39 vcmbR7l4r$Bo((ZS1cp7WE*#u@;RSqqu~ diff --git a/src/inputs/index.ts b/src/inputs/index.ts index 6f9bdac..0e53520 100644 --- a/src/inputs/index.ts +++ b/src/inputs/index.ts @@ -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) }