Commit 37e1162b authored by Lucas Nussbaum's avatar Lucas Nussbaum
Browse files

[dev/yaml-input-find-duplicates] add exit codes

parent be48524b
......@@ -64,8 +64,10 @@ def yaml_input_find_duplicates(refapi_hash, options)
if refapi_hash.empty?
puts "OK: no duplicate entries."
exit(0)
else
puts refapi_hash.to_yaml
exit(1)
end
end
......
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