[ci] format
This commit is contained in:
parent
8728ee0b94
commit
2d0b20d741
1 changed files with 2 additions and 2 deletions
|
@ -705,9 +705,9 @@ export async function validateIntegrations(integrations: string[]): Promise<Inte
|
||||||
];
|
];
|
||||||
|
|
||||||
if (pkgJson['peerDependencies']) {
|
if (pkgJson['peerDependencies']) {
|
||||||
const meta = pkgJson['peerDependenciesMeta'] || {}
|
const meta = pkgJson['peerDependenciesMeta'] || {};
|
||||||
for (const peer in pkgJson['peerDependencies']) {
|
for (const peer in pkgJson['peerDependencies']) {
|
||||||
const optional = meta[peer]?.optional || false
|
const optional = meta[peer]?.optional || false;
|
||||||
if (!optional) {
|
if (!optional) {
|
||||||
dependencies.push([peer, pkgJson['peerDependencies'][peer]]);
|
dependencies.push([peer, pkgJson['peerDependencies'][peer]]);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue