Skip to content

Commit

Permalink
Add final newline to config file
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobwgillespie committed Mar 24, 2022
1 parent 14313d3 commit ee0ccf9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/project/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ func WriteConfig(filename string, config *ProjectConfig) error {
return fmt.Errorf("Unsupported config file extension: %s", ext)
}

data = append(data, '\n')

return os.WriteFile(filename, data, 0644)
}

Expand Down

0 comments on commit ee0ccf9

Please sign in to comment.