Skip to content

Commit

Permalink
fix(pre-commit-run): Remove .git directory
Browse files Browse the repository at this point in the history
  • Loading branch information
nicknovitski authored Jan 25, 2023
1 parent 7bdf85f commit 541e43e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/pre-commit.nix
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ let
chmod -R +w src
ln -fs ${configFile} src/.pre-commit-config.yaml
cd src
rm -rf src/.git
rm -rf .git
git init
git add .
git config --global user.email "[email protected]"
Expand Down

0 comments on commit 541e43e

Please sign in to comment.