diff --git a/lib/fastlane/plugin/commit_android_version_bump/actions/commit_android_version_bump_action.rb b/lib/fastlane/plugin/commit_android_version_bump/actions/commit_android_version_bump_action.rb index 7fa4ab5..f1148b5 100644 --- a/lib/fastlane/plugin/commit_android_version_bump/actions/commit_android_version_bump_action.rb +++ b/lib/fastlane/plugin/commit_android_version_bump/actions/commit_android_version_bump_action.rb @@ -14,7 +14,7 @@ def self.run(params) absolute_path = File.expand_path(build_file_folder) build_file_path = build_file_folder+"/build.gradle" # find the repo root path - repo_path = Actions.sh("git -C #{absolute_path} rev-parse --show-toplevel").strip + repo_path = Actions.sh("git -C '#{absolute_path}' rev-parse --show-toplevel").strip repo_pathname = Pathname.new(repo_path) else app_folder_name ||= params[:app_folder_name]