Skip to content

Commit 9ff0857

Browse files
committed
fix: remove the testing only code mistakenly added in commit be9d972
The `//TODO: REMOVE THIS BEFORE RELEASE. FOR TESTING ONLY.` comment along with it's testing `userExtensionsPath` variable code was mistakenly added in commit be9d972. This was never supposed have seen the lights of git, and is only used in development to ensure it gets the right extensions path otherwise the development environment would get the wrong path. Fixed by removing the testing code, and uncommenting the real code.
1 parent 279d3b4 commit 9ff0857

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

src/extensionData.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,7 @@ export class ExtensionData {
8888

8989
private setExtensionDiscoveryPaths() {
9090
// The path to the user extensions.
91-
// const userExtensionsPath = isWsl ? path.join(vscode.env.appRoot, "../../", "extensions") : path.join(this.extensionPath, "../");
92-
93-
//TODO: REMOVE THIS BEFORE RELEASE. FOR TESTING ONLY.
94-
const userExtensionsPath = isWsl ? path.join(vscode.env.appRoot, "../../", "extensions") : "C:\\Users\\Stuart\\.vscode\\extensions";
91+
const userExtensionsPath = isWsl ? path.join(vscode.env.appRoot, "../../", "extensions") : path.join(this.extensionPath, "../");
9592

9693
this.extensionDiscoveryPaths.set("userExtensionsPath", userExtensionsPath);
9794
// The path to the built-in extensions.

0 commit comments

Comments
 (0)