lib/repl.rb in runeblog-0.1.71 vs lib/repl.rb in runeblog-0.1.73
- old
+ new
@@ -109,11 +109,10 @@
files = all if yn == "y"
end
return @out if files.empty?
ret = RubyText.spinner(label: " Publishing... ") do
-STDERR.puts files.inspect
@blog.view.publisher.publish(files, assets) # FIXME weird?
end
return @out unless ret
vdir = @blog.view.dir
dump("fix this later", "#{vdir}/last_published")
@@ -245,10 +244,9 @@
end
file = files.first
result = edit_file("#{@blog.root}/drafts/#{file}")
@blog.rebuild_post(file)
-sleep 5
@out
end
def cmd_list_views(arg, testing = false)
reset_output("\n")