Skip to content

Commit

Permalink
Add missing line-end same as run mode
Browse files Browse the repository at this point in the history
  • Loading branch information
kachick committed Apr 24, 2024
1 parent 17c2571 commit cff966f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/migrate/migrate.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ func Migrate(path string) (bool, error) {
}

if isMigrated {
err = os.WriteFile(path, []byte(strings.Join(newLines, "\n")), fs.ModePerm)
err = os.WriteFile(path, []byte(strings.Join(newLines, "\n")+"\n"), fs.ModePerm)
if err != nil {
return true, err
}
Expand Down

0 comments on commit cff966f

Please sign in to comment.