Commit 6e53aca9 by Henrik N

Show 'Nothing to annotate!' instead of 'Annotated ' when there are no applicable models.

parent 935e9412
......@@ -143,8 +143,12 @@ module AnnotateModels
puts "Unable to annotate #{file}: #{e.message}"
end
end
if annotated.empty?
puts "Nothing to annotate!"
else
puts "Annotated #{annotated.join(', ')}"
end
end
def remove_annotations
deannotated = []
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment