We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a3889d commit 512f6c1Copy full SHA for 512f6c1
src/shadow/arborist/lib/arborist/reify.ts
@@ -346,7 +346,7 @@ function updateNode(
346
firstPatchedVersionIdentifier
347
)
348
const targetPackument = targetVersion
349
- ? packument.versions[targetVersion]
+ ? packument!.versions[targetVersion]
350
: undefined
351
// Check !targetVersion to make TypeScript happy.
352
if (!targetVersion || !targetPackument) {
0 commit comments