From 045ffa62b463ff9254ca96df1a76d6196937d1cc Mon Sep 17 00:00:00 2001 From: patrick brisbin Date: Fri, 26 May 2023 12:01:36 -0400 Subject: [PATCH] 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. --- src/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.ts b/src/main.ts index e749b21df..d977f1f84 100644 --- a/src/main.ts +++ b/src/main.ts @@ -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(