update changelog

This commit is contained in:
softprops committed 2024-03-08 16:13:09 -05:00
1 parent fe71fd3b91
commit 5743e06024
3 files changed
+6 -5

No files matched your search

+3 -3
View File
@@ -24,9 +24,9 @@ async function run() {
}
if (config.input_files) {
const patterns = unmatchedPatterns(config.input_files);
patterns.forEach((pattern) =>
throw new Error(`⚠️ Pattern '${pattern}' does not match any files.`)
);
patterns.forEach((pattern) => {
throw new Error(`⚠️ Pattern '${pattern}' does not match any files.`);
});
if (patterns.length > 0 && config.input_fail_on_unmatched_files) {
throw new Error(`⚠️ There were unmatched files`);
}