Permalink
Browse files

Merge pull request #12 from lukejahnke/master

Fixed warning when running rake
  • Loading branch information...
2 parents a15909b + e8d6f9e commit 6ee67b5ccccc2a5357dbcfb6aec53c9e73638f82 @colszowka committed Jun 16, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/simplecov-html.rb
View
@@ -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

0 comments on commit 6ee67b5

Please sign in to comment.