Skip to content

Commit

Permalink
fixup! fix(cli/config): path/show commands
Browse files Browse the repository at this point in the history
  • Loading branch information
ayakovlenko committed Nov 7, 2024
1 parent 97225b8 commit d345e70
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,8 @@ jobs:
dep ensure
fi
- name: Lint
run: ./scripts/lint.sh linted

- name: Test
run: go test ./...
2 changes: 1 addition & 1 deletion internal/config/config_cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ func configInitCmd(appConfig app.Config) *cli.Command {
}
defer f.Close()

if _, err := fmt.Fprintln(f, sampleConfig); err != nil {
if _, err := fmt.Fprint(f, sampleConfig); err != nil {
return err
}

Expand Down

0 comments on commit d345e70

Please sign in to comment.