Merge pull request #108 from TouchInstinct/fix_fabric_keys_parsing

remove \n from input string when parsing fabric tokens
This commit is contained in:
Ivan Smolin 2019-05-17 17:38:50 +03:00 committed by GitHub
commit f854e7b0a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -270,5 +270,5 @@ def fabric_keys_from_xcodeproj(xcodeproj_path)
end
def fabric_keys_from_shell_script(shell_script_contents)
shell_script_contents.partition('Fabric/run\" ').last.partition('";').first.split(" ")
shell_script_contents.gsub("\\n", "").partition('Fabric/run\" ').last.partition('";').first.split(" ")
end