Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/twine.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilippe Auriach <p.auriach@gmail.com>2017-10-13 12:13:01 +0300
committerGitHub <noreply@github.com>2017-10-13 12:13:01 +0300
commit87815284296ea59aff24f66c9303a00a4f90f92a (patch)
tree95f148047a72dcbff8feff8a2a7d0de1fb6aaadc
parent3043a481314d00abd2bacb61dcad1674fed7d4b9 (diff)
more readable if
-rw-r--r--lib/twine/formatters/apple.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/twine/formatters/apple.rb b/lib/twine/formatters/apple.rb
index cf311bb..5233cb1 100644
--- a/lib/twine/formatters/apple.rb
+++ b/lib/twine/formatters/apple.rb
@@ -22,10 +22,11 @@ module Twine
path_arr.each do |segment|
match = /^(.+)\.lproj$/.match(segment)
if match
- if match[1] != "Base"
+ if match[1] == "Base"
+ return @options[:developer_language]
+ else
return match[1]
end
- return @options[:developer_language]
end
end