Skip to content

Commit

Permalink
Merge pull request #30814 from Microsoft/cache-ata-per-patch-version
Browse files Browse the repository at this point in the history
Cache ATA per patch version
  • Loading branch information
sandersn committed Apr 8, 2019
2 parents 4b009e3 + 30f04a9 commit aac3e52
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/compiler/core.ts
Expand Up @@ -3,7 +3,7 @@ namespace ts {
// If changing the text in this section, be sure to test `configureNightly` too.
export const versionMajorMinor = "3.4";
/** The version of the TypeScript compiler release */
export const version = `${versionMajorMinor}.2`;
export const version = `${versionMajorMinor}.3`;
}

namespace ts {
Expand Down
4 changes: 2 additions & 2 deletions src/tsserver/server.ts
Expand Up @@ -29,15 +29,15 @@ namespace ts.server {
process.env.USERPROFILE ||
(process.env.HOMEDRIVE && process.env.HOMEPATH && normalizeSlashes(process.env.HOMEDRIVE + process.env.HOMEPATH)) ||
os.tmpdir();
return combinePaths(combinePaths(normalizeSlashes(basePath), "Microsoft/TypeScript"), versionMajorMinor);
return combinePaths(combinePaths(normalizeSlashes(basePath), "Microsoft/TypeScript"), version);
}
case "openbsd":
case "freebsd":
case "darwin":
case "linux":
case "android": {
const cacheLocation = getNonWindowsCacheLocation(process.platform === "darwin");
return combinePaths(combinePaths(cacheLocation, "typescript"), versionMajorMinor);
return combinePaths(combinePaths(cacheLocation, "typescript"), version);
}
default:
return Debug.fail(`unsupported platform '${process.platform}'`);
Expand Down

0 comments on commit aac3e52

Please sign in to comment.