lib/rezept/actions.rb in rezept-0.4.1 vs lib/rezept/actions.rb in rezept-0.4.2

- old
+ new

@@ -61,10 +61,10 @@ @client.create_document(l) if dry_run.empty? else r_ids = r.delete('account_ids') diff = Rezept::Utils.diff(@converter, r, l, options['color']) - if diff == "\n" + if diff == "\n" or diff.empty? info("#{dry_run}No changes '#{l['name']}'") else warn("#{dry_run}Update the document #{l['name'].inspect}") STDERR.puts diff @client.version_up_document(l) if dry_run.empty?