Skip to content

Commit

Permalink
[scripts/build_ts_refs] when using --clean initialize caches
Browse files Browse the repository at this point in the history
  • Loading branch information
spalger committed Aug 5, 2021
1 parent ca6182c commit 8c5daca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dev/typescript/build_ts_refs_cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export async function runBuildRefsCli() {
const cacheEnabled = process.env.BUILD_TS_REFS_CACHE_ENABLE !== 'false' && !!flags.cache;
const doCapture = process.env.BUILD_TS_REFS_CACHE_CAPTURE === 'true';
const doClean = !!flags.clean || doCapture;
const doInitCache = cacheEnabled && !doClean;
const doInitCache = cacheEnabled && !doCapture;

if (doClean) {
log.info('deleting', outDirs.length, 'ts output directories');
Expand Down

0 comments on commit 8c5daca

Please sign in to comment.