Skip to content

Commit

Permalink
Fixup message
Browse files Browse the repository at this point in the history
`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.
  • Loading branch information
pbrisbin committed May 26, 2023
1 parent 4019a86 commit 045ffa6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 045ffa6

Please sign in to comment.