Skip to content

Commit

Permalink
chore(cache): migrates to watskeburt 3 (#912)
Browse files Browse the repository at this point in the history
## Description

- migrates to watskeburt 3

## Motivation and Context

Keep up with  the  times

## How Has This Been Tested?

- [x] green ci

## Types of changes

- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] Documentation only change
- [x] Refactor (non-breaking change which fixes an issue without
changing functionality)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to change)
  • Loading branch information
sverweij committed Feb 22, 2024
1 parent 9f81c28 commit 1dcb73d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -222,7 +222,7 @@
"semver-try-require": "6.2.3",
"teamcity-service-messages": "0.1.14",
"tsconfig-paths-webpack-plugin": "4.1.0",
"watskeburt": "2.0.5",
"watskeburt": "3.0.0",
"wrap-ansi": "9.0.0"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion src/cache/metadata-strategy.mjs
Expand Up @@ -49,7 +49,7 @@ export default class MetaDataStrategy {
const lSHA = await lOptions.shaRetrievalFn();
bus.debug("cache: - getting diff");
const lDiff = /** @type {import("watskeburt").IChange[]} */ (
await lOptions.diffListFn(lSHA)
await lOptions.diffListFn({ oldRevision: lSHA })
);
const lChanges = lDiff
.filter(({ name }) => excludeFilter(pCruiseOptions.exclude)(name))
Expand Down

0 comments on commit 1dcb73d

Please sign in to comment.