Skip to content

Commit f921953

Browse files
committed
Fix critical typo in reify
1 parent 4c4fb1e commit f921953

File tree

1 file changed

+1
-1
lines changed
  • src/shadow/arborist/lib/arborist

1 file changed

+1
-1
lines changed

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)