lib/schmersion/linter.rb in schmersion-1.0.1 vs lib/schmersion/linter.rb in schmersion-1.1.0
- old
+ new
@@ -124,10 +124,10 @@
File.expand_path('../../', __dir__)
end
def hook_file_contents(command)
<<~FILE
- #!/bin/bash
+ #!/usr/bin/env bash
#{path_to_schmersion} #{command} $1 $2 $3
FILE
end