Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Fixed warning when running rake #12

Merged
merged 1 commit into from

2 participants

@lukejahnke

I was getting the following warning when running rake:

/simplecov-html-0.5.3/lib/simplecov-html.rb:36: warning: instance variable @asset_output_path not initialized

@colszowka colszowka merged commit 6ee67b5 into colszowka:master
@colszowka
Owner

Thanks :)

@lukejahnke

No problem :) When you get a chance, could you please have a look at colszowka/simplecov#139

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jun 3, 2012
  1. @lukejahnke
This page is out of date. Refresh to see the latest.
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
Something went wrong with that request. Please try again.