mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
[scripts/build_ts_refs] when using --clean
initialize caches (#107777)
Co-authored-by: spalger <spalger@users.noreply.github.com>
This commit is contained in:
parent
c2e834353e
commit
02c571e362
1 changed files with 1 additions and 1 deletions
|
@ -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');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue