From dd1f2ca1589ba3a863e64b82c18c6a68b299c990 Mon Sep 17 00:00:00 2001 From: Bob Brown Date: Mon, 31 Jan 2022 17:35:34 -0800 Subject: [PATCH] ${buildKit} is not updated after a Kit switch (#2335) * ${buildKit} is not updated after a Kit switch * Update changelog Co-authored-by: Andreea Isac <48239328+andreeis@users.noreply.github.com> --- CHANGELOG.md | 4 ++++ src/drivers/driver.ts | 1 + 2 files changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index bb3cf4155..1d557f484 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # What's New? +## 1.10.0 +Bug Fixes: +- ${buildKit} is not updated after a Kit switch. [#2335](https://github.com/microsoft/vscode-cmake-tools/issues/2335) + ## 1.9.2 Bug fixes: - Fix infinite recursion into symlinks. [#2257](https://github.com/microsoft/vscode-cmake-tools/issues/2257) diff --git a/src/drivers/driver.ts b/src/drivers/driver.ts index f1c8418d0..85d0e2d3e 100644 --- a/src/drivers/driver.ts +++ b/src/drivers/driver.ts @@ -515,6 +515,7 @@ export abstract class CMakeDriver implements vscode.Disposable { const needs_clean = this.binaryDir === newBinaryDir && kitChangeNeedsClean(kit, this._kit); await this.doSetKit(needs_clean, async () => { await this._setKit(kit, preferredGenerators); + await this._refreshExpansions(); }); }