Skip to content

Commit

Permalink
Command eq-base returns an error if any key is having the same value. (
Browse files Browse the repository at this point in the history
…#301)

This would allow us to make this a blocking part of our CI.
  • Loading branch information
pcorpet authored and glebm committed Oct 23, 2018
1 parent 4fbf49c commit 99eb413
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/i18n/tasks/command/commands/eq_base.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ module EqBase
args: %i[locales out_format]

def eq_base(opt = {})
print_forest i18n.eq_base_keys(opt), opt, :eq_base_keys
forest = i18n.eq_base_keys(opt)
print_forest forest, opt, :eq_base_keys
:exit_1 unless forest.empty?
end
end
end
Expand Down

0 comments on commit 99eb413

Please sign in to comment.