lib/overcommit/hook/pre_commit/travis_lint.rb in overcommit-0.27.0 vs lib/overcommit/hook/pre_commit/travis_lint.rb in overcommit-0.28.0

- old
+ new

@@ -2,10 +2,10 @@ # Runs `travis-lint` against any modified Travis CI files. # # @see https://github.com/travis-ci/travis.rb class TravisLint < Base def run - result = execute(command + applicable_files) + result = execute(command, args: applicable_files) return :pass if result.success? [:fail, (result.stdout + result.stderr).strip] end end