mirror of
https://github.com/actions/upload-artifact.git
synced 2025-04-21 18:51:20 +00:00
Cleanup
This commit is contained in:
parent
b62552503d
commit
9a0e0d1dc0
2
dist/index.js
vendored
2
dist/index.js
vendored
@ -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,
|
||||
|
@ -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
|
||||
)}`
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user