Skip to content

Commit ea391a3

Browse files
authored
Fix default Linux cache path. (#11696)
1 parent 7cb9f88 commit ea391a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Extension/src/common.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1318,7 +1318,7 @@ export function getCacheStoragePath(): string {
13181318
defaultCachePath = "vscode-cpptools/";
13191319
pathEnvironmentVariable = process.env.XDG_CACHE_HOME;
13201320
if (!pathEnvironmentVariable) {
1321-
pathEnvironmentVariable = os.homedir();
1321+
pathEnvironmentVariable = path.join(os.homedir(), ".cache");
13221322
}
13231323
break;
13241324
}

0 commit comments

Comments
 (0)