Skip to content

Commit 8e2b1ea

Browse files
committed
Fix critical typo in reify
1 parent b9fabb1 commit 8e2b1ea

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • src/shadow/arborist/lib/arborist

src/shadow/arborist/lib/arborist/reify.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ export async function reify(
363363
): Promise<SafeNode> {
364364
const needInfoOn = await walk(this.diff)
365365
if (
366-
needInfoOn.length! ||
366+
!needInfoOn.length ||
367367
needInfoOn.findIndex(c => c.repository_url === NPM_REGISTRY_URL) === -1
368368
) {
369369
// Nothing to check, hmmm already installed or all private?

0 commit comments

Comments
 (0)