Skip to content

Commit 5743e06

Browse files
committed
update changelog
1 parent fe71fd3 commit 5743e06

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

CHANGELOG.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
## 2.0.1 (unreleased)
22

3-
- Suppress confusing warning when input_files is empty [#389](https://github.com/softprops/action-gh-release/pull/389) via [@Drowze](https://github.com/Drowze)
3+
- Fail run if files setting contains invalid patterns [#384](https://github.com/softprops/action-gh-release/pull/384) via [@rpdelaney](https://github.com/rpdelaney)
44
- Add support for proxy env variables (don't use node-fetch) [#386](https://github.com/softprops/action-gh-release/pull/386/) via [@timor-raiman](https://github.com/timor-raiman)
5+
- Suppress confusing warning when input_files is empty [#389](https://github.com/softprops/action-gh-release/pull/389) via [@Drowze](https://github.com/Drowze)
56

67
## 2.0.0
78

dist/index.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/main.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ async function run() {
2424
}
2525
if (config.input_files) {
2626
const patterns = unmatchedPatterns(config.input_files);
27-
patterns.forEach((pattern) =>
28-
throw new Error(`⚠️ Pattern '${pattern}' does not match any files.`)
29-
);
27+
patterns.forEach((pattern) => {
28+
throw new Error(`⚠️ Pattern '${pattern}' does not match any files.`);
29+
});
3030
if (patterns.length > 0 && config.input_fail_on_unmatched_files) {
3131
throw new Error(`⚠️ There were unmatched files`);
3232
}

0 commit comments

Comments
 (0)