Skip to content

Commit f2fbdbb

Browse files
committed
Raise a fatal error if the config file is not valid
Related to softprops#383
1 parent 89b2397 commit f2fbdbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ async function run() {
6363
if (config.input_files) {
6464
const files = paths(config.input_files);
6565
if (files.length == 0) {
66-
console.warn(`🤔 ${config.input_files} not include valid file.`);
66+
throw new Error(`⚠️ ${config.input_files} not include valid file.`);
6767
}
6868
const currentAssets = rel.assets;
6969
const assets = await Promise.all(

0 commit comments

Comments
 (0)