From df81cdaf71dc072ce1fe5f01e869c744faab76f8 Mon Sep 17 00:00:00 2001 From: Louis Kraemer Date: Fri, 20 Oct 2023 12:52:41 +0200 Subject: [PATCH] fix(local cli): prevent npm from parsing arguments (#328) --- .../appcenter/actions/appcenter_codepush_release_react.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/fastlane/plugin/appcenter/actions/appcenter_codepush_release_react.rb b/lib/fastlane/plugin/appcenter/actions/appcenter_codepush_release_react.rb index 4acf861..88e842f 100644 --- a/lib/fastlane/plugin/appcenter/actions/appcenter_codepush_release_react.rb +++ b/lib/fastlane/plugin/appcenter/actions/appcenter_codepush_release_react.rb @@ -37,7 +37,7 @@ def self.run(params) base_executable = "appcenter " if use_local_appcenter_cli - base_executable = "npm exec " + base_executable + base_executable = "npm exec -- " + base_executable end command = base_executable + "codepush release-react --token #{token} --app #{owner}/#{app} --deployment-name #{deployment} --development #{dev} "