Skip to content

Commit 7d6983e

Browse files
authored
chore: update WTR change detection branch to 25.0 (#10629)
1 parent c13b099 commit 7d6983e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

wtr-utils.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ const hasAllParam = process.argv.includes('--all');
5353
* Check if lockfile has changed.
5454
*/
5555
const isLockfileChanged = () => {
56-
const log = execSync('git diff --name-only origin/main HEAD').toString(); // NOSONAR
56+
const log = execSync('git diff --name-only origin/25.0 HEAD').toString(); // NOSONAR
5757
return log.split('\n').some((line) => line.includes('yarn.lock'));
5858
};
5959

@@ -62,7 +62,7 @@ const isLockfileChanged = () => {
6262
*/
6363
const getChangedPackages = () => {
6464
const pathToLerna = path.normalize('./node_modules/.bin/lerna');
65-
const output = execSync(`${pathToLerna} la --since origin/main --json --loglevel silent`); // NOSONAR
65+
const output = execSync(`${pathToLerna} la --since origin/25.0 --json --loglevel silent`); // NOSONAR
6666
return JSON.parse(output.toString()).map((project) => project.name.replace('@vaadin/', ''));
6767
};
6868

0 commit comments

Comments
 (0)