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:
patrick brisbin 2023-05-26 12:01:36 -04:00
parent 4019a86bb8
commit 045ffa62b4
No known key found for this signature in database
GPG key ID: 07BF97A312D7F34C

View file

@ -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(