Skip to content

Commit

Permalink
Merge pull request #12 from lukejahnke/master
Browse files Browse the repository at this point in the history
Fixed warning when running rake
  • Loading branch information
colszowka committed Jun 16, 2012
2 parents a15909b + e8d6f9e commit 6ee67b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/simplecov-html.rb
Expand Up @@ -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
Expand Down

0 comments on commit 6ee67b5

Please sign in to comment.