summaryrefslogtreecommitdiff
path: root/lib/hooks_utils.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/hooks_utils.rb')
-rw-r--r--lib/hooks_utils.rb15
1 files changed, 0 insertions, 15 deletions
diff --git a/lib/hooks_utils.rb b/lib/hooks_utils.rb
deleted file mode 100644
index b11317c..0000000
--- a/lib/hooks_utils.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-module HooksUtils
- module_function
-
- # Gets an array of Git push options from the environment
- def get_push_options
- count = ENV['GIT_PUSH_OPTION_COUNT'].to_i
- result = []
-
- count.times do |i|
- result.push(ENV["GIT_PUSH_OPTION_#{i}"])
- end
-
- result
- end
-end