title: Why isn't my git pre-commit hook running?
body: <p>Up until recently -- I only noticed this a couple days ago -- my git pre-commit hook was working. I'm writing a react app and using Husky, TSLint, and Prettier to clean and lint my code before committing. Now, when I change and commit files, the pre-commit hook doesn't run.</p>
  
  <p>My project structure looks like this:</p>
  
  <pre><code>- project
    - .git/
    - react/   &lt;- the frontend
      - node_modules/
      - src/
      - package.json
      - (other files)
    - nodejs/  &lt;- the server
      - node_modules/
      - src/
      - package.json
      - (other files)
    - package.json
    - (other files)
  </code></pre>
  
  <p>If I manually execute the hook, it seems to run fine:</p>
  
  <pre><code>[/project/react] # git status
  On branch fixHusky
  Changes to be committed:
    (use "git reset HEAD &lt;file&gt;..." to unstage)
  
      modified:   MyFile.ts
  
  [/project/react] # ../.git/hooks/pre-commit
  husky &gt; pre-commit (node v12.6.0)
    ↓ Stashing changes... [skipped]
      → No partially staged files found...
    ✔ Running linters...
  
  [/project/react] # 
  </code></pre>
  
  <p>But when I actually try to commit, husky doesn't run:</p>
  
  <pre><code>[/project/react] #  git commit -m "testing husky"
  [fixHusky cf17a6b] testing husky
   1 file changed, 1 insertion(+), 1 deletion(-)
  
  [/project/react] # 
  </code></pre>
  
  <p>Any idea why it isn't running?</p>