mirror of
https://github.com/pressly/goose.git
synced 2025-07-09 20:18:36 +00:00
Changing Sprintf to Sprint if there is no formatting (#417)
This commit is contained in:
parent
9823e00b3f
commit
73e53f9922
@ -30,7 +30,7 @@ type Migration struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (m *Migration) String() string {
|
func (m *Migration) String() string {
|
||||||
return fmt.Sprintf(m.Source)
|
return fmt.Sprint(m.Source)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Up runs an up migration.
|
// Up runs an up migration.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user