Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

qualify log

  • Loading branch information...
commit 28ce85a8721ee4e34fccee429bb5d89a9b39c7e3 1 parent 4359950
@rubys authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/gorp/output.rb
View
4 lib/gorp/output.rb
@@ -96,12 +96,12 @@
"<ul class=\"todos\">\n#{$todos.target!.gsub(/^/,' '*6)} </ul>"
$x.target!.gsub! '<strong/>', '<strong></strong>'
$x.target!.gsub! /(<textarea[^>]+)\/>/, '\1></textarea>'
- log :WRITE, Gorp.path("#{$output}.html")
+ Gorp.log :WRITE, Gorp.path("#{$output}.html")
open("#{$WORK}/#{$output}.html",'w') { |file| file.write $x.target! }
# run tests
if $checker
- log :CHECK, "#{$output}.html"
+ Gorp.log :CHECK, "#{$output}.html"
Dir.chdir $BASE
STDOUT.puts
if $checker.respond_to? :call
Please sign in to comment.
Something went wrong with that request. Please try again.