Skip to content

Commit

Permalink
feat(sgprettier): don't fail when filetype not found.
Browse files Browse the repository at this point in the history
This change should make it so pretiier does not return an error when
a certain filetype is not found.
  • Loading branch information
blaberg committed Nov 27, 2024
1 parent 28b45b7 commit 4bd831c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tools/sgprettier/tools.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@ func FormatGoTemplates(ctx context.Context) *exec.Cmd {
"--parser",
"go-template",
"--write",
"**/*.html",
"**/*.tmpl",
"**/*.{html,tmpl}",
"!" + sg.FromSageDir(),
}
return Command(ctx, args...)
Expand Down

0 comments on commit 4bd831c

Please sign in to comment.