Fix possible crash when consuming Android string files.
Twine would crash if --tags were supplied on the command line. This parameter is undocumented for consume-string-file. It shouldn't do anything (at least not yet). Fixes #23
This commit is contained in:
parent
f191da57db
commit
8e453c1995
1 changed files with 0 additions and 3 deletions
|
@ -74,9 +74,6 @@ module Twine
|
|||
else
|
||||
value = ""
|
||||
end
|
||||
if @options[:tags]
|
||||
set_tags_for_key(key, @options[:tags])
|
||||
end
|
||||
set_translation_for_key(key, lang, value)
|
||||
if comment and comment.length > 0 and !comment.start_with?("SECTION:")
|
||||
set_comment_for_key(key, comment)
|
||||
|
|
Reference in a new issue