Skip to content

Commit

Permalink
fix(SSG): fix typo in the SupportedSsgUpdater service
Browse files Browse the repository at this point in the history
  • Loading branch information
skateman committed Jul 17, 2023
1 parent 8815bcf commit 6b337b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/services/supported_ssg_updater_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class SupportedSsgUpdaterTest < ActiveSupport::TestCase
fallback = YAML.safe_load(@fallback_file.read)

def sub_keys?(profile)
profile&.instance_of(Hash) && profile.keys.any? && profile.keys.exclude?('old_names')
profile.instance_of?(Hash) && profile.keys.any? && profile.keys.exclude?('old_names')
end

SupportedSsgUpdater.search_through(fallback) do |key, value, _current_hash|
Expand Down

0 comments on commit 6b337b0

Please sign in to comment.