Skip to content

Commit

Permalink
Changing Sprintf to Sprint if there is no formatting (#417)
Browse files Browse the repository at this point in the history
  • Loading branch information
sashamelentyev committed Dec 2, 2022
1 parent 9823e00 commit 73e53f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion migration.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ type Migration struct {
}

func (m *Migration) String() string {
return fmt.Sprintf(m.Source)
return fmt.Sprint(m.Source)
}

// Up runs an up migration.
Expand Down

0 comments on commit 73e53f9

Please sign in to comment.