Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #12 from lukejahnke/master

Fixed warning when running rake
  • Loading branch information...
commit 6ee67b5ccccc2a5357dbcfb6aec53c9e73638f82 2 parents a15909b + e8d6f9e
@colszowka authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/simplecov-html.rb
View
2  lib/simplecov-html.rb
@@ -37,7 +37,7 @@ def output_path
end
def asset_output_path
- return @asset_output_path if @asset_output_path
+ return @asset_output_path if defined? @asset_output_path and @asset_output_path
@asset_output_path = File.join(output_path, 'assets', SimpleCov::Formatter::HTMLFormatter::VERSION)
FileUtils.mkdir_p(@asset_output_path)
@asset_output_path
Please sign in to comment.
Something went wrong with that request. Please try again.