Skip to content

Commit

Permalink
fix: log warning when unable to format
Browse files Browse the repository at this point in the history
  • Loading branch information
danielgtaylor committed Oct 2, 2023
1 parent 1c467ca commit aeaab4a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bulk/file.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ func (f *File) IsChangedLocal(ignoreDeleted bool) bool {

b, err = reformat(b)
if err != nil {
cli.LogWarning("Warning unable to format %s: %s\n", f.Path, err)
return false
}

Expand Down

0 comments on commit aeaab4a

Please sign in to comment.