Skip to content

Commit

Permalink
chore: modernize
Browse files Browse the repository at this point in the history
  • Loading branch information
haunt98 committed Feb 27, 2025
1 parent c5f1485 commit 3b57aca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion internal/cli/action.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ func (a *action) getFlags(c *cli.Context) {
a.log("Flags %+v\n", a.flags)
}

func (a *action) log(format string, v ...interface{}) {
func (a *action) log(format string, v ...any) {
if a.flags.verbose {
log.Printf(format, v...)
}
Expand Down
1 change: 1 addition & 0 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ coverage-html: coverage

lint:
golangci-lint run ./...
modernize -fix -test ./...

format:
# go install github.com/haunt98/gofimports/cmd/gofimports@latest
Expand Down

0 comments on commit 3b57aca

Please sign in to comment.