Skip to content

Commit

Permalink
update changelog and change if statement order
Browse files Browse the repository at this point in the history
  • Loading branch information
gcampbell-msft committed Oct 10, 2024
1 parent 5cb0415 commit 6ea5dd2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ Features:

- Add support for Presets v9, which enables more macro expansion for the `include` field. [#3946](https://github.com/microsoft/vscode-cmake-tools/issues/3946)

Improvements:

- Ensure that any uses of `proc.spawn` work, especially for .bat and .cmd files, due to VS Code updating to Node 20. [#4037](https://github.com/microsoft/vscode-cmake-tools/issues/4037)

Bug Fixes:

- Fix issue where duplicate presets are being listed in dropdown. [#4104](https://github.com/microsoft/vscode-cmake-tools/issues/4104)
Expand All @@ -15,7 +19,6 @@ Bug Fixes:
Improvements:

- Update signing to support VSCode extension signing. [#4055](https://github.com/microsoft/vscode-cmake-tools/pull/4055)
- Ensure that any uses of `proc.spawn` work, especially for .bat and .cmd files, due to VS Code updating to Node 20. [#4037](https://github.com/microsoft/vscode-cmake-tools/issues/4037)

## 1.19.51

Expand Down
2 changes: 1 addition & 1 deletion src/proc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ export function execute(command: string, args?: string[], outputConsumer?: Outpu
}
}

if (options.shell === undefined && process.platform === "win32") {
if (process.platform === "win32" && options.shell === undefined) {
options.shell = determineShell(command);
}

Expand Down

0 comments on commit 6ea5dd2

Please sign in to comment.