Skip to content

Commit

Permalink
chore: update change detection branch to 24.7
Browse files Browse the repository at this point in the history
  • Loading branch information
web-padawan committed Feb 26, 2025
1 parent 4043c51 commit ad55ea8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wtr-utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ const hasAllParam = process.argv.includes('--all');
* Check if lockfile has changed.
*/
const isLockfileChanged = () => {
const log = execSync('git diff --name-only origin/main HEAD').toString(); // NOSONAR
const log = execSync('git diff --name-only origin/24.7 HEAD').toString(); // NOSONAR
return log.split('\n').some((line) => line.includes('yarn.lock'));
};

Expand All @@ -60,7 +60,7 @@ const isLockfileChanged = () => {
*/
const getChangedPackages = () => {
const pathToLerna = path.normalize('./node_modules/.bin/lerna');
const output = execSync(`${pathToLerna} la --since origin/main --json --loglevel silent`); // NOSONAR
const output = execSync(`${pathToLerna} la --since origin/24.7 --json --loglevel silent`); // NOSONAR
return JSON.parse(output.toString()).map((project) => project.name.replace('@vaadin/', ''));
};

Expand Down

0 comments on commit ad55ea8

Please sign in to comment.