forked from mirrors/action-gh-release
chore: fmt code
Signed-off-by: Rui Chen <rui@chenrui.dev>
This commit is contained in:
parent
c95fe14893
commit
c43d7637b9
1 changed files with 6 additions and 2 deletions
|
@ -67,9 +67,13 @@ 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} does not include a valid file.`);
|
||||
throw new Error(
|
||||
`⚠️ ${config.input_files} does not include a valid file.`,
|
||||
);
|
||||
} else {
|
||||
console.warn(`🤔 ${config.input_files} does not include a valid file.`);
|
||||
console.warn(
|
||||
`🤔 ${config.input_files} does not include a valid file.`,
|
||||
);
|
||||
}
|
||||
}
|
||||
const currentAssets = rel.assets;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue