mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
devops: do not run npm ci when generating 3d party notice (#35899)
This commit is contained in:
parent
263453a7b2
commit
7850c15e0e
@ -17,7 +17,6 @@
|
||||
const checker = require('license-checker');
|
||||
const fs = require('fs');
|
||||
const path = require('path');
|
||||
const { execSync } = require('child_process');
|
||||
|
||||
async function checkDir(dir) {
|
||||
return await new Promise((f, r) => {
|
||||
@ -53,7 +52,6 @@ This project incorporates components from the projects listed below. The origina
|
||||
if (!bundle.isDirectory())
|
||||
continue;
|
||||
const dir = path.join(bundlesDir, bundle.name);
|
||||
execSync('npm ci', { cwd: dir });
|
||||
const packages = await checkDir(dir);
|
||||
for (const [key, value] of Object.entries(packages)) {
|
||||
if (value.licenseText)
|
||||
|
Loading…
x
Reference in New Issue
Block a user