diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 01979e2..8f3347d 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -24,5 +24,8 @@ jobs: dep ensure fi + - name: Lint + run: ./scripts/lint.sh linted + - name: Test run: go test ./... diff --git a/internal/config/config_cmd.go b/internal/config/config_cmd.go index 1c293d0..ce3877b 100644 --- a/internal/config/config_cmd.go +++ b/internal/config/config_cmd.go @@ -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 }