Skip to content

Commit

Permalink
fix: out.String()
Browse files Browse the repository at this point in the history
  • Loading branch information
caarlos0 committed Nov 9, 2018
1 parent da3dc43 commit 6e9f588
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ Globs:

diff, err := difflib.GetUnifiedDiffString(difflib.UnifiedDiff{
A: difflib.SplitLines(string(bts)),
B: difflib.SplitLines(string(out.Bytes())),
B: difflib.SplitLines(out.String()),
FromFile: "Original",
ToFile: "Formatted",
Context: 3,
Expand Down

0 comments on commit 6e9f588

Please sign in to comment.