Skip to content

Commit

Permalink
Use package-lock.json in license check
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Mäder <[email protected]>
  • Loading branch information
tsmaeder committed Nov 24, 2024
1 parent 1c22140 commit 5336f62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/check_3pp_licenses.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ async function main() {
fs.renameSync(dashLicensesSummary, `${dashLicensesSummary}.old`);
}
info('Running dash-licenses...');
const args = ['-jar', dashLicensesJar, 'yarn.lock', '-batch', '50', '-timeout', '240', '-project', project, '-summary', dashLicensesSummary];
const args = ['-jar', dashLicensesJar, 'package-lock.json', '-batch', '50', '-timeout', '240', '-project', project, '-summary', dashLicensesSummary];
if (autoReviewMode && personalAccessToken) {
info(`Using "review" mode for project: ${project}`);
args.push('-review', '-token', personalAccessToken);
Expand Down

0 comments on commit 5336f62

Please sign in to comment.