Skip to content

Commit

Permalink
fmt ignore submodules
Browse files Browse the repository at this point in the history
  • Loading branch information
familyfriendlymikey committed Feb 1, 2024
1 parent 6aed634 commit 51e70db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/imba/src/utils/fmt.imba
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export default def fmt args, opts

unless opts.force
try
if cp.execSync("git status --porcelain").toString!
if cp.execSync("git status --porcelain --ignore-submodules").toString!
E "Git working directory is not clean"
catch e
E "Failed to check git status"
Expand Down

0 comments on commit 51e70db

Please sign in to comment.