From 05b62eb1b379e687b1c2d007e80b28265d3daf53 Mon Sep 17 00:00:00 2001 From: Ivan Smolin Date: Fri, 17 May 2019 17:37:33 +0300 Subject: [PATCH] remove \n from input string when parsing fabric tokens --- xcode/commonFastfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xcode/commonFastfile b/xcode/commonFastfile index dff1da3..e514031 100644 --- a/xcode/commonFastfile +++ b/xcode/commonFastfile @@ -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