Skip to content

Commit

Permalink
chore: update change detection branch to 24.4 (#7375)
Browse files Browse the repository at this point in the history
  • Loading branch information
web-padawan committed May 3, 2024
1 parent b9f590b commit 789a07f
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 @@ -40,7 +40,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.4 HEAD').toString(); // NOSONAR
return log.split('\n').some((line) => line.includes('yarn.lock'));
};

Expand All @@ -49,7 +49,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.4 --json --loglevel silent`); // NOSONAR
return JSON.parse(output.toString()).map((project) => project.name.replace('@vaadin/', ''));
};

Expand Down

0 comments on commit 789a07f

Please sign in to comment.