remove \n from input string when parsing fabric tokens

This commit is contained in:
Ivan Smolin 2019-05-17 17:37:33 +03:00
parent 9d5135098b
commit 05b62eb1b3
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