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.
node.target
null
1 parent f696b51 commit ba5978bCopy full SHA for ba5978b
workspaces/arborist/lib/calc-dep-flags.js
@@ -30,7 +30,7 @@ const calcDepFlagsStep = (node) => {
30
resetParents(node, 'optional')
31
32
// for links, map their hierarchy appropriately
33
- if (node.isLink) {
+ if (node.isLink && node.target) {
34
node.target.dev = node.dev
35
node.target.optional = node.optional
36
node.target.devOptional = node.devOptional
0 commit comments