Permalink
Browse files

not copying the coverage report if the BUILD_ARTEFACTS variable isn't…

… present
  • Loading branch information...
srushti committed Jul 24, 2012
1 parent 8b9e5de commit 7c5eed1e8b35432088677603c70968b94330b8f4
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/tasks/ci.rake
View
@@ -5,5 +5,5 @@ task :setup_test_env do
end
task :copy_coverage_report do
- FileUtils.cp_r('coverage', ENV['BUILD_ARTEFACTS'] || 'output', :verbose => true)
+ FileUtils.cp_r('coverage', ENV['BUILD_ARTEFACTS'], :verbose => true) if ENV['BUILD_ARTEFACTS'].present?
end

0 comments on commit 7c5eed1

Please sign in to comment.