Merge pull request #5868 from boatrite/2022-12-10-path-with-spaces-fix

Fix cloning gem when destination path contains spaces
This commit is contained in:
Yukihiro "Matz" Matsumoto
2022-12-12 14:42:26 +09:00
committed by GitHub
+1 -5
View File
@@ -25,11 +25,7 @@ module MRuby
end
def shellquote(s)
if ENV['OS'] == 'Windows_NT'
"\"#{s}\""
else
"#{s}"
end
"\"#{s}\""
end
private