Skip to content

Commit

Permalink
fixed warning when running rake
Browse files Browse the repository at this point in the history
  • Loading branch information
lukejahnke committed Jun 3, 2012
1 parent a15909b commit e8d6f9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/simplecov-html.rb
Original file line number Diff line number Diff line change
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 e8d6f9e

Please sign in to comment.