Skip to content

Commit

Permalink
[7.x] [kbn/pm] only count cached project (#69113) (#69338)
Browse files Browse the repository at this point in the history
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
  • Loading branch information
3 people committed Jun 16, 2020
1 parent 71663a4 commit 4bf7341
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 4bf7341

Please sign in to comment.