Skip to content

Commit

Permalink
Raise a fatal error if the config file is not valid
Browse files Browse the repository at this point in the history
Related to softprops#383
  • Loading branch information
rpdelaney committed Sep 11, 2023
1 parent 89b2397 commit f2fbdbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.`);
throw new Error(`鈿狅笍 ${config.input_files} not include valid file.`);
}
const currentAssets = rel.assets;
const assets = await Promise.all(
Expand Down

0 comments on commit f2fbdbb

Please sign in to comment.