diff --git a/dev/pre-commit-hook.rb b/dev/pre-commit-hook.rb index af3e6079..7dc6eeef 100755 --- a/dev/pre-commit-hook.rb +++ b/dev/pre-commit-hook.rb @@ -1,6 +1,7 @@ #!/usr/bin/env ruby -# ln -sf /Users/xxx/wpscan/dev/pre-commit-hook.rb /Users/xxx/wpscan/.git/hooks/pre-commit +# from the top level dir: +# ln -sf ../../dev/pre-commit-hook.rb .git/hooks/pre-commit require 'pty' html_path = 'rspec_results.html'