lib/command/update.rb in narou-1.2.2 vs lib/command/update.rb in narou-1.2.3
- old
+ new
@@ -64,9 +64,11 @@
unless @options["no-convert"]
convert_argv = [target]
convert_argv << "--no-open" if no_open
Convert.execute_and_rescue_exit(convert_argv)
end
+ elsif is_updated.nil?
+ puts "#{data["title"]} の更新に失敗しました"
else
puts "#{data["title"]} に更新はありません"
end
end
rescue Interrupt