Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Trojan295 authored and tgross committed Oct 6, 2022
1 parent 9c26a85 commit b1192bf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions command/fmt.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ func (f *FormatCommand) RunContext(ctx context.Context, args *FormatArgs) int {
f.Ui.Error("Failed to find files to format:")
f.Ui.Error(err.Error())
f.Ui.Error(commandErrorText(f))
return 1
}

for _, file := range f.files {
Expand Down
2 changes: 1 addition & 1 deletion command/testdata/fmt/bad-nomad.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ server {
}

consul {
address = 1.2.3.4 : 8500
address = 1.2.3.4:8500
}

0 comments on commit b1192bf

Please sign in to comment.