mirror of
https://github.com/actions/upload-artifact.git
synced 2024-11-06 01:25:51 -05:00
Replace "file(s)" with "file" or "files" (#159)
This commit is contained in:
parent
1fd4c858f9
commit
e6bd6b7749
1 changed files with 2 additions and 1 deletions
|
@ -31,8 +31,9 @@ async function run(): Promise<void> {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
const s = searchResult.filesToUpload.length === 1 ? '' : 's'
|
||||||
core.info(
|
core.info(
|
||||||
`With the provided path, there will be ${searchResult.filesToUpload.length} file(s) uploaded`
|
`With the provided path, there will be ${searchResult.filesToUpload.length} file${s} uploaded`
|
||||||
)
|
)
|
||||||
core.debug(`Root artifact directory is ${searchResult.rootDirectory}`)
|
core.debug(`Root artifact directory is ${searchResult.rootDirectory}`)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue