We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f49983f commit c8cacd7Copy full SHA for c8cacd7
cmd/wayback/wayback.go
@@ -143,6 +143,7 @@ func readFromFile(s string) (urls []*url.URL) {
143
if err != nil {
144
return
145
}
146
+ defer file.Close()
147
scanner := bufio.NewScanner(file)
148
for scanner.Scan() {
149
uri, err := url.Parse(scanner.Text())
docs/changelog.md
@@ -35,6 +35,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
35
### Fixed
36
- Load the config file always ([#498](https://github.com/wabarc/wayback/pull/498))
37
- Signing RPM packages ([#507](https://github.com/wabarc/wayback/pull/507))
38
+- Fix opened file not closing ([#521](https://github.com/wabarc/wayback/pull/521))
39
40
## [0.19.1] - 2023-03-21
41
0 commit comments