Skip to content

Commit

Permalink
Merge pull request #42 from byohay/feature/project-with-spaces-2
Browse files Browse the repository at this point in the history
kintsugi: Fix crash for project with spaces in name.
  • Loading branch information
ashdnazg committed Feb 7, 2022
2 parents 8796e5d + 896cff8 commit 933f319
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit 933f319

Please sign in to comment.