Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kintsugi: Fix crash for project with spaces in name. #42

Merged
merged 1 commit into from
Feb 7, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/kintsugi.rb
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def open_project_of_current_commit_in_temporary_directory(project_file_path)
Dir.mkdir(temp_directory_name)
temp_project_file_path = File.join(temp_directory_name, PROJECT_FILE_NAME)
Dir.chdir(File.dirname(project_file_path)) do
`git show HEAD:./project.pbxproj > #{temp_project_file_path}`
`git show HEAD:./project.pbxproj > "#{temp_project_file_path}"`
end
Xcodeproj::Project.open(File.dirname(temp_project_file_path))
end
Expand Down