diff --git a/pkg/project/config.go b/pkg/project/config.go index 0f9ca2cf..108b72d6 100644 --- a/pkg/project/config.go +++ b/pkg/project/config.go @@ -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) }