chore: update error and warning messages for not matching files in files field (#568)

This commit is contained in:
Yetkin Timocin 2025-01-07 10:41:34 -08:00 committed by GitHub
parent 01050bd877
commit 33fcd69d45
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -67,9 +67,9 @@ async function run() {
const files = paths(config.input_files); const files = paths(config.input_files);
if (files.length == 0) { if (files.length == 0) {
if (config.input_fail_on_unmatched_files) { if (config.input_fail_on_unmatched_files) {
throw new Error(`⚠️ ${config.input_files} not include valid file.`); throw new Error(`⚠️ ${config.input_files} does not include a valid file.`);
} else { } else {
console.warn(`🤔 ${config.input_files} not include valid file.`); console.warn(`🤔 ${config.input_files} does not include a valid file.`);
} }
} }
const currentAssets = rel.assets; const currentAssets = rel.assets;