Commit 110bec9
updater.go: replace os.WriteFile with file.Write() (#669)
* Update updater.go
replace os.WriteFile with file.Write()
Signed-off-by: udf2457 <udf2457@users.noreply.github.com>
* Update metadata/updater/updater.go
File is closed on all branches in the code, removing this.
Signed-off-by: Fredrik Skogman <kommendorkapten@github.com>
---------
Signed-off-by: udf2457 <udf2457@users.noreply.github.com>
Signed-off-by: Fredrik Skogman <kommendorkapten@github.com>
Co-authored-by: Fredrik Skogman <kommendorkapten@github.com>1 parent 830edf8 commit 110bec9
1 file changed
+14
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
596 | 596 | | |
597 | 597 | | |
598 | 598 | | |
599 | | - | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
| 607 | + | |
| 608 | + | |
| 609 | + | |
600 | 610 | | |
601 | | - | |
| 611 | + | |
602 | 612 | | |
603 | | - | |
| 613 | + | |
| 614 | + | |
604 | 615 | | |
605 | 616 | | |
606 | 617 | | |
| |||
0 commit comments