bin/install_git_hooks in telegram-bot-0.16.1 vs bin/install_git_hooks in telegram-bot-0.16.3

- old
+ new

@@ -1,7 +1,8 @@ #!/usr/bin/env ruby +# frozen_string_literal: true -root = File.expand_path('../../', __FILE__) +root = File.expand_path('..', __dir__) hooks_dir = "#{root}/bin/git-hooks" `ls -1 #{hooks_dir}`.each_line.map(&:strip).each do |file| `ln -sf #{hooks_dir}/#{file} #{root}/.git/hooks/#{file}` end