Skip to content

Commit

Permalink
chore: version bump for new minor patch release.
Browse files Browse the repository at this point in the history
fix: issue #212 Used fix proposed by qwertym88
  • Loading branch information
jortbmd committed Sep 27, 2024
1 parent e306ce2 commit 5b41217
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
- Full support for CubeIDE imports.
- Add option to select installation location for the tooling.

## [3.2.9] - 2024-09-27
### Added
- Issue #206: Did not build anything else than elf files due to the all recipe not being correct.
- Issue #212: On Windows threw an error because the build folder was already there. Now checks before using the md command. Thanks to: qwertym88

## [3.2.8] - 2024-09-05
### Added
- Issue #197: Added CONTRIBUTING.md files thanks to DeflateAwning
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "stm32-for-vscode",
"displayName": "stm32-for-vscode",
"description": "An extension for: setting up, compiling, uploading and debugging STM32 applications",
"version": "3.2.8",
"version": "3.2.9",
"engines": {
"vscode": "^1.44.0"
},
Expand Down
4 changes: 2 additions & 2 deletions src/CreateMakefile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export function createStringList(arr: string[], prefix?: string): string {
// Replace '#' with '\#' (for escaping in Makefile).
// Backslash replacement is because CodeQL complained about incomplete escaping.
const escapedEntry = entry.replace(/\\/g, '\\\\').replace(/#/g, '\\#');

if (prefix) {
output += prefix;
}
Expand Down Expand Up @@ -252,7 +252,7 @@ mkdir_function = mkdir -p $(1)
ifeq ($(OS),Windows_NT)
convert_to_windows_path = $(strip $(subst /,\\,$(patsubst %/,%,$(1))))
REMOVE_DIRECTORY_COMMAND = cmd /c rd /s /q
mkdir_function = cmd /e:on /c md $(call convert_to_windows_path,$(1))
mkdir_function = cmd /e:on /c if not exist $(call convert_to_windows_path,$(1)) md $(call convert_to_windows_path,$(1))
endif
Expand Down

0 comments on commit 5b41217

Please sign in to comment.