From bf905e82c169eefd5ff6439804a5718687c0ef0a Mon Sep 17 00:00:00 2001 From: vince-fugnitto Date: Tue, 14 Jun 2022 15:33:31 -0400 Subject: [PATCH] repo: fix `license:check` The commit updates the `license:check` baseline so it does not report a false `license` on github. Signed-off-by: vince-fugnitto --- .gitignore | 2 +- license-check-baseline.json => dependency-check-baseline.json | 0 scripts/check_3pp_licenses.js | 4 ++-- 3 files changed, 3 insertions(+), 3 deletions(-) rename license-check-baseline.json => dependency-check-baseline.json (100%) diff --git a/.gitignore b/.gitignore index aad05c8fc4cc0..902566df06945 100644 --- a/.gitignore +++ b/.gitignore @@ -29,6 +29,6 @@ dev-packages/electron/compile_commands.json *.tsbuildinfo .eslintcache scripts/download -license-check-summary.txt* +dependency-check-summary.txt* *-trace.json .tours diff --git a/license-check-baseline.json b/dependency-check-baseline.json similarity index 100% rename from license-check-baseline.json rename to dependency-check-baseline.json diff --git a/scripts/check_3pp_licenses.js b/scripts/check_3pp_licenses.js index d0383d46b9b1b..4778079663204 100644 --- a/scripts/check_3pp_licenses.js +++ b/scripts/check_3pp_licenses.js @@ -22,8 +22,8 @@ const readline = require('readline'); const NO_COLOR = Boolean(process.env['NO_COLOR']); const dashLicensesJar = path.resolve(__dirname, 'download/dash-licenses.jar'); -const dashLicensesSummary = path.resolve(__dirname, '../license-check-summary.txt'); -const dashLicensesBaseline = path.resolve(__dirname, '../license-check-baseline.json'); +const dashLicensesSummary = path.resolve(__dirname, '../dependency-check-summary.txt'); +const dashLicensesBaseline = path.resolve(__dirname, '../dependency-check-baseline.json'); const dashLicensesUrl = 'https://repo.eclipse.org/service/local/artifact/maven/redirect?r=dash-licenses&g=org.eclipse.dash&a=org.eclipse.dash.licenses&v=LATEST'; main().catch(error => {