mirror of
https://github.com/softprops/action-gh-release
synced 2026-10-02 09:41:31 +00:00
chore: update error and warning messages for not matching files in files field (#568)
This commit is contained in:
1 parent
01050bd877
commit
33fcd69d45
1 file changed
+2
-2
+2
-2
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user