Skip to content

Commit

Permalink
passing release notes to deliver fails due to string/symbol mismatch (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
taquitos committed Jun 28, 2017
1 parent 274760b commit 44fb3bb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions deliver/lib/deliver/upload_metadata.rb
Expand Up @@ -190,6 +190,7 @@ def verify_available_languages!(options)
current = options[key]
next unless current && current.kind_of?(Hash)
current.each do |language, value|
language = language.to_s
enabled_languages << language unless enabled_languages.include?(language)
end
end
Expand Down
1 change: 1 addition & 0 deletions spaceship/lib/spaceship/tunes/language_item.rb
Expand Up @@ -26,6 +26,7 @@ def get_value(key: nil)

def get_lang(lang)
result = self.original_array.find do |current|
lang = lang.to_s
current['language'] == lang or current['localeCode'] == lang # Apple being consistent
end
return result if result
Expand Down

0 comments on commit 44fb3bb

Please sign in to comment.