diff options
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/hooks/pre-commit.rb | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/tools/hooks/pre-commit.rb b/tools/hooks/pre-commit.rb index c224a49..825a851 100755 --- a/tools/hooks/pre-commit.rb +++ b/tools/hooks/pre-commit.rb @@ -15,11 +15,5 @@ files.each { |name| } } -puts 'Running astyle...' -if not `astyle --dry-run --formatted --options=astyle.rc #{files.join(' ')}`.empty? then - system "astyle --verbose --suffix=none --formatted --options=astyle.rc #{files.join(' ')}" - result = 1 -end - puts "pre-commit exit(#{result})" exit result |