Skip to content

Commit

Permalink
Remove a redundant newline from error logging in migration file write
Browse files Browse the repository at this point in the history
  • Loading branch information
anfragment committed Nov 24, 2024
1 parent 8793bed commit 9f9cae3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/cfg/migrations.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,6 @@ func (c *Config) RunMigrations() {
}

if err := os.WriteFile(lastMigrationFile, []byte(Version), 0644); err != nil {
log.Printf("error writing last migration file: %v\n", err)
log.Printf("error writing last migration file: %v", err)
}
}

0 comments on commit 9f9cae3

Please sign in to comment.