Skip to content

Commit

Permalink
Possible fix to #187
Browse files Browse the repository at this point in the history
  • Loading branch information
glebm committed Feb 5, 2016
1 parent 16b0af8 commit 4fb304b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/i18n/tasks/unused_keys.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def unused_keys(locales: nil, strict: nil)
# @param [Boolean] strict if true, do not match dynamic keys
def unused_tree(locale: base_locale, strict: nil)
used_key_names = used_tree(strict: true).keys.reject {|_key, node|
node.data[:type] == :used_reference_key_raw
node.data[:ref_type] == :reference_usage
}.map(&:first)
collapse_plural_nodes! data[locale].select_keys { |key, _node|
!ignore_key?(key, :unused) &&
Expand Down

0 comments on commit 4fb304b

Please sign in to comment.