Browse Source

fix(direnv) Remove symlink call for pre-commit (#17199)

The symlink call was overriding the commit hooks entirely, and removing the legacy file was breaking the JS commit hooks. Remove them for now until there's a better solution for the legacy hooks.
evanh 5 years ago
parent
commit
af7fdd4c3f
1 changed files with 0 additions and 6 deletions
  1. 0 6
      .envrc

+ 0 - 6
.envrc

@@ -125,17 +125,11 @@ fi
 
 info "Checking pre-commit..."
 
-# this is cheap, so we'll just do it every time
-ln -sf config/hooks/* .git/hooks
-
 if ! require pre-commit; then
     info "Looks like you don't have pre-commit installed. Let's install it."
     make setup-git
 fi
 
-# this hotfix is cheap too, so just run it every time
-rm -f .git/hooks/pre-commit.legacy
-
 
 ### Node ###