Fixed warning when running rake #12

Merged
merged 1 commit into from Jun 16, 2012
Jump to file
+1 −1
Split
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