From 7748019a761f54d7c7ef48de5e669268d85efbb5 Mon Sep 17 00:00:00 2001 From: Christian Mehlmauer Date: Sat, 7 Jun 2014 00:28:37 +0200 Subject: [PATCH] Update pre-commit-hook.rb --- dev/pre-commit-hook.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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'