lib/command/remove.rb in narou-1.1.1 vs lib/command/remove.rb in narou-1.1.2
- old
+ new
@@ -1,6 +1,6 @@
-# -*- coding: UTF-8 -*-
+# -*- coding: utf-8 -*-
#
# Copyright 2013 whiteleaf. All rights reserved.
#
require_relative "../narou"
@@ -43,10 +43,10 @@
end
argv.each_with_index do |target, i|
Helper.print_horizontal_rule if i > 0
data = Downloader.get_data_by_target(target)
unless data
- warn "#{target} は存在しません"
+ error "#{target} は存在しません"
next
end
title = data["title"]
if Narou.novel_frozen?(target)
puts "#{title} は凍結中です\n削除を中止しました"