-
Notifications
You must be signed in to change notification settings - Fork 271
[typespec-vscode] Fix openapi3 preview error when path contain space #7353
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
base: main
Are you sure you want to change the base?
[typespec-vscode] Fix openapi3 preview error when path contain space #7353
Conversation
❌ There is undocummented changes. Run The following packages have changes but are not documented.
The following packages have already been documented:
|
You can try these changes here
|
@@ -230,21 +231,18 @@ export function spawnExecution( | |||
env?: NodeJS.ProcessEnv, | |||
on?: spawnExecutionEvents, | |||
): Promise<ExecOutput> { | |||
const shell = process.platform === "win32"; | |||
const cmd = shell && exe.includes(" ") ? `"${exe}"` : exe; | |||
let stdout = ""; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the change will impact all the code spawn execution. please ask vender to run a test pass to make sure it doesnt break anything.
Fix: #7281
OpenAPI3 preview reports error when the path contains space