[ci] format

This commit is contained in:
tony-sull 2022-10-25 20:00:05 +00:00 committed by fredkbot
parent 8728ee0b94
commit 2d0b20d741

View file

@ -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]]);
} }