fix(install): remove extra space during cd (#6355)

breaks xonsh
This commit is contained in:
Joshua Haas 2024-03-25 03:40:35 -04:00 committed by GitHub
parent 8d9736cf3e
commit 33c9db832b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -329,7 +329,7 @@ function M.make_directory_change_for_command(dir, command)
return string.format("pushd %s ; %s ; popd", cmdpath(dir), command)
end
else
return string.format("cd %s;\n %s", dir, command)
return string.format("cd %s;\n%s", dir, command)
end
end