Skip to content

Commit

Permalink
chore: update error and warning messages for not matching files in fi…
Browse files Browse the repository at this point in the history
…les field (#568)
  • Loading branch information
ytimocin authored Jan 7, 2025
1 parent 01050bd commit 33fcd69
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@ async function run() {
const files = paths(config.input_files);
if (files.length == 0) {
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 {
console.warn(`🤔 ${config.input_files} not include valid file.`);
console.warn(`🤔 ${config.input_files} does not include a valid file.`);
}
}
const currentAssets = rel.assets;
Expand Down

0 comments on commit 33fcd69

Please sign in to comment.