Skip to content

Commit

Permalink
[kbn/pm] only count cached project
Browse files Browse the repository at this point in the history
  • Loading branch information
spalger committed Jun 13, 2020
1 parent 04b8a49 commit 1ff478e
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 @@ -8810,13 +8810,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 1ff478e

Please sign in to comment.