From b617455d2d6fe1e0ae26dec4a8db7612cdd1320a Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Thu, 19 Mar 2015 08:37:21 -0700 Subject: [PATCH] Dont exit from brakeman rake task --- lib/tasks/brakeman.rake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tasks/brakeman.rake b/lib/tasks/brakeman.rake index abcb5f0ae46..3a225801ff2 100644 --- a/lib/tasks/brakeman.rake +++ b/lib/tasks/brakeman.rake @@ -1,7 +1,7 @@ desc 'Security check via brakeman' task :brakeman do if system("brakeman --skip-files lib/backup/repository.rb -w3 -z") - exit 0 + puts 'Security check succeed' else puts 'Security check failed' exit 1