Skip to content
This repository has been archived by the owner on Mar 31, 2024. It is now read-only.

Commit

Permalink
[kbn/pm] only count cached project (elastic#69113)
Browse files Browse the repository at this point in the history
Co-authored-by: spalger <[email protected]>
Co-authored-by: Elastic Machine <[email protected]>
  • Loading branch information
3 people committed Jun 16, 2020
1 parent 4056885 commit 02ab490
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/kbn-pm/dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8846,13 +8846,13 @@ const BootstrapCommand = {

if (valid) {
_utils_log__WEBPACK_IMPORTED_MODULE_1__["log"].debug(`[${project.name}] cache up to date`);
cachedProjectCount += 1;
}

caches.set(project, {
file,
valid
});
cachedProjectCount += 1;
}
}

Expand Down
2 changes: 1 addition & 1 deletion packages/kbn-pm/src/commands/bootstrap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,10 @@ export const BootstrapCommand: ICommand = {

if (valid) {
log.debug(`[${project.name}] cache up to date`);
cachedProjectCount += 1;
}

caches.set(project, { file, valid });
cachedProjectCount += 1;
}
}

Expand Down

0 comments on commit 02ab490

Please sign in to comment.