mirror of
https://github.com/softprops/action-gh-release.git
synced 2025-05-11 02:44:20 +00:00
Fixup message
`files.length == 0` means the input was empty, so including it in the message just added confusing whitespace, as well as broke the grammar of the sentence.
This commit is contained in:
parent
4019a86bb8
commit
045ffa62b4
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ async function run() {
|
|||
if (config.input_files) {
|
||||
const files = paths(config.input_files);
|
||||
if (files.length == 0) {
|
||||
console.warn(`🤔 ${config.input_files} not include valid file.`);
|
||||
console.warn(`🤔 no assets to upload.`);
|
||||
}
|
||||
const currentAssets = rel.assets;
|
||||
const assets = await Promise.all(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue