Skip to content

Commit

Permalink
[ci] format
Browse files Browse the repository at this point in the history
  • Loading branch information
tony-sull authored and astrobot-houston committed Oct 25, 2022
1 parent 8728ee0 commit 2d0b20d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/astro/src/core/add/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -705,9 +705,9 @@ export async function validateIntegrations(integrations: string[]): Promise<Inte
];

if (pkgJson['peerDependencies']) {
const meta = pkgJson['peerDependenciesMeta'] || {}
const meta = pkgJson['peerDependenciesMeta'] || {};
for (const peer in pkgJson['peerDependencies']) {
const optional = meta[peer]?.optional || false
const optional = meta[peer]?.optional || false;
if (!optional) {
dependencies.push([peer, pkgJson['peerDependencies'][peer]]);
}
Expand Down

0 comments on commit 2d0b20d

Please sign in to comment.