Skip to content

Commit 24c7542

Browse files
committed
trim
1 parent 2003acc commit 24c7542

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: gitschemalex.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ func (r *Runner) SchemaVersion(ctx context.Context, version *string) error {
8282
return err
8383
}
8484

85-
*version = string(v)
85+
*version = string(bytes.TrimSpace(v))
8686
return nil
8787
}
8888

0 commit comments

Comments
 (0)