This commit is contained in:
Konrad Pabjan 2020-07-28 14:27:32 +02:00
parent b62552503d
commit 9a0e0d1dc0
2 changed files with 2 additions and 2 deletions

2
dist/index.js vendored
View File

@ -6375,7 +6375,7 @@ function getInputs() {
const ifNoFilesFound = core.getInput(constants_1.Inputs.IfNoFilesFound); const ifNoFilesFound = core.getInput(constants_1.Inputs.IfNoFilesFound);
const noFileBehavior = constants_1.NoFileOptions[ifNoFilesFound]; const noFileBehavior = constants_1.NoFileOptions[ifNoFilesFound];
if (!noFileBehavior) { 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 { return {
artifactName: name, artifactName: name,

View File

@ -14,7 +14,7 @@ export function getInputs(): UploadInputs {
if (!noFileBehavior) { if (!noFileBehavior) {
core.setFailed( 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 NoFileOptions
)}` )}`
) )