Skip to content

Commit

Permalink
ignore submodules in hook
Browse files Browse the repository at this point in the history
  • Loading branch information
adpi2 committed Nov 3, 2022
1 parent 34e01bf commit e4ff320
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git-hook.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Global / onLoad := { state =>
"""#!/bin/sh
|set -eux
|bin/scalafmt --diff --diff-branch main
|git diff --exit-code
|git diff --exit-code --ignore-submodules=all
|""".stripMargin.getBytes()
)
prePush.toFile.setExecutable(true)
Expand Down

0 comments on commit e4ff320

Please sign in to comment.