Skip to content

Commit

Permalink
trim
Browse files Browse the repository at this point in the history
  • Loading branch information
lestrrat committed Sep 21, 2017
1 parent 2003acc commit 725637d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gitschemalex.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ func (r *Runner) SchemaVersion(ctx context.Context, version *string) error {
return err
}

*version = string(v)
*version = string(bytes.TrimSpaces(v))
return nil
}

Expand Down

0 comments on commit 725637d

Please sign in to comment.