lib/repl.rb in runeblog-0.2.16 vs lib/repl.rb in runeblog-0.2.17
- old
+ new
@@ -8,11 +8,10 @@
module RuneBlog::REPL
def edit_file(file)
result = system("#{@blog.editor} #{file}")
-STDERR.puts "editor = #{@blog.editor} FILE = #{file}"
raise EditorProblem(file) unless result
sleep 0.1
STDSCR.clear
end
@@ -220,10 +219,9 @@
def cmd_remove_post(arg, testing = false)
reset_output
id = get_integer(arg)
result = @blog.remove_post(id)
output! "Post #{id} not found" if result.nil?
-# puts "Post #{id} not found" if result.nil?
@out
end
#-- FIXME affects linking, building, publishing...