File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ async function run() {
25
25
if ( config . input_files ) {
26
26
const patterns = unmatchedPatterns ( config . input_files ) ;
27
27
patterns . forEach ( ( pattern ) =>
28
- console . warn ( `🤔 Pattern '${ pattern } ' does not match any files.`)
28
+ throw new Error ( `⚠️ Pattern '${ pattern } ' does not match any files.`)
29
29
) ;
30
30
if ( patterns . length > 0 && config . input_fail_on_unmatched_files ) {
31
31
throw new Error ( `⚠️ There were unmatched files` ) ;
@@ -63,7 +63,7 @@ async function run() {
63
63
if ( config . input_files && config . input_files . length > 0 ) {
64
64
const files = paths ( config . input_files ) ;
65
65
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.`) ;
67
67
}
68
68
const currentAssets = rel . assets ;
69
69
const assets = await Promise . all (
You can’t perform that action at this time.
0 commit comments