From 9a0e0d1dc090d4dc984090986541f4759f1f9baa Mon Sep 17 00:00:00 2001 From: Konrad Pabjan Date: Tue, 28 Jul 2020 14:27:32 +0200 Subject: [PATCH] Cleanup --- dist/index.js | 2 +- src/input-helper.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/index.js b/dist/index.js index a2c0b2e..be85b72 100644 --- a/dist/index.js +++ b/dist/index.js @@ -6375,7 +6375,7 @@ function getInputs() { const ifNoFilesFound = core.getInput(constants_1.Inputs.IfNoFilesFound); const noFileBehavior = constants_1.NoFileOptions[ifNoFilesFound]; if (!noFileBehavior) { - core.setFailed(`Unrecognized if-no-files-found input. Provided ${ifNoFilesFound}. Available options include ${Object.keys(constants_1.NoFileOptions)}`); + core.setFailed(`Unrecognized if-no-files-found input. Provided ${ifNoFilesFound}. Available options: ${Object.keys(constants_1.NoFileOptions)}`); } return { artifactName: name, diff --git a/src/input-helper.ts b/src/input-helper.ts index 4f9c06c..76b536d 100644 --- a/src/input-helper.ts +++ b/src/input-helper.ts @@ -14,7 +14,7 @@ export function getInputs(): UploadInputs { if (!noFileBehavior) { core.setFailed( - `Unrecognized if-no-files-found input. Provided ${ifNoFilesFound}. Available options include ${Object.keys( + `Unrecognized if-no-files-found input. Provided ${ifNoFilesFound}. Available options: ${Object.keys( NoFileOptions )}` )