Skip to content

Commit 16f3521

Browse files
authored
1_1_2 release (#6532)
* Fix fileDirname. (#6482) * Update changelog. * Update the version.
1 parent adff6e6 commit 16f3521

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

Extension/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# C/C++ for Visual Studio Code Change Log
22

3+
## Version 1.1.2: November 17, 2020
4+
### Bug Fix
5+
* Fix resolution of `${fileDirname}` with `cppbuild` tasks. [#6386](https://github.com/microsoft/vscode-cpptools/issues/6386)
6+
37
## Version 1.1.1: November 9, 2020
48
### Bug Fixes
59
* Fix cpptools binaries sometimes not getting installed on Windows. [#6453](https://github.com/microsoft/vscode-cpptools/issues/6453)

Extension/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "cpptools",
33
"displayName": "C/C++",
44
"description": "C/C++ IntelliSense, debugging, and code browsing.",
5-
"version": "1.1.1",
5+
"version": "1.1.2",
66
"publisher": "ms-vscode",
77
"icon": "LanguageCCPP_color_128x.png",
88
"readme": "README.md",

Extension/src/LanguageServer/cppBuildTaskProvider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ class CustomBuildTaskTerminal implements Pseudoterminal {
396396
const file: string = editor.document.fileName;
397397
return {
398398
"file": file,
399-
"fileDirname": fileDir.uri.fsPath,
399+
"fileDirname": path.parse(file).dir,
400400
"fileBasenameNoExtension": path.parse(file).name,
401401
"workspaceFolder": fileDir.uri.fsPath
402402
};

0 commit comments

Comments
 (0)