Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
AlekSi committed Dec 19, 2022
1 parent 1eb07ac commit 18fe28f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/util/version/generate.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ func runGit(args ...string) []byte {
return b
}

// saveFile stores the given bytes in the given file with logging.
func saveFile(b []byte, filename string) {
log.Printf("%s: %s", filename, b)
must.NoError(os.WriteFile(filepath.Join("gen", filename), b, 0o666))
Expand Down

0 comments on commit 18fe28f

Please sign in to comment.