mapbox / secret-shield

Easily find secrets in files, directories, and repositories. Stop leaking secrets using git hooks.
MIT License
35 stars 13 forks source link

Error on local hooks #7

Open vsmart opened 5 years ago

vsmart commented 5 years ago

What repository are you running secret-shield on?

tried on multiple mapbox repositories

What version of secret-shield are you running?

There is no -v flag, so I'm not sure

How did you invoke secret-shield?

`secret-shield --add-hooks local`

How is secret-shield not working as expected?

Errors with :

Could not find the local hooks to add -- is your secret-shield module correctly installed?

First reported by @chezzdev and I can reproduce the issue.

cc @zmully @k-mahoney @emilymcafee

fabidick22 commented 5 years ago

I have the same error

jlyon-nlg commented 4 years ago

Same error here, windows 10 mapbox/secret-shield v1.0.2

Installed secret-shield locally and globally, attempting to --add-hooks local in local demo repo with husky.