Skip to content

Commit

Permalink
Merge 618e64e into f756d36
Browse files Browse the repository at this point in the history
  • Loading branch information
tagliala committed Jan 5, 2015
2 parents f756d36 + 618e64e commit 1c60c7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/coveralls/command.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ def push
return unless ensure_can_run_locally!
ENV["COVERALLS_RUN_LOCALLY"] = "true"
cmd = "bundle exec rake"
if File.exists?('.travis.yml')
if File.exist?('.travis.yml')
cmd = YAML.load_file('.travis.yml')["script"] || cmd rescue cmd
end
exec cmd
Expand Down

0 comments on commit 1c60c7a

Please sign in to comment.