We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c9b46fe commit 89b2397Copy full SHA for 89b2397
src/main.ts
@@ -25,7 +25,7 @@ async function run() {
25
if (config.input_files) {
26
const patterns = unmatchedPatterns(config.input_files);
27
patterns.forEach((pattern) =>
28
- console.warn(`🤔 Pattern '${pattern}' does not match any files.`)
+ throw new Error(`⚠️ Pattern '${pattern}' does not match any files.`)
29
);
30
if (patterns.length > 0 && config.input_fail_on_unmatched_files) {
31
throw new Error(`⚠️ There were unmatched files`);
0 commit comments