Commit 3d96494 1 parent 4ca858c commit 3d96494 Copy full SHA for 3d96494
File tree 2 files changed +3
-26
lines changed
tap-snapshots/test/arborist
2 files changed +3
-26
lines changed Original file line number Diff line number Diff line change @@ -1149,6 +1149,9 @@ class Node {
1149
1149
for ( const kid of node . children . values ( ) ) {
1150
1150
kid . parent = this
1151
1151
}
1152
+ if ( node . isLink && node . target ) {
1153
+ node . target . root = null
1154
+ }
1152
1155
}
1153
1156
1154
1157
if ( ! node . isRoot ) {
Original file line number Diff line number Diff line change @@ -2228,19 +2228,6 @@ ArboristNode {
2228
2228
"type": "prod",
2229
2229
},
2230
2230
},
2231
- "fsChildren": Set {
2232
- ArboristNode {
2233
- "dev": true,
2234
- "extraneous": true,
2235
- "location": "target",
2236
- "name": "target",
2237
- "optional": true,
2238
- "packageName": "ABBREV",
2239
- "path": "{CWD}/test/arborist/tap-testdir-reify-collide-case-variant-dep-names/target",
2240
- "peer": true,
2241
- "version": "1.0.0",
2242
- },
2243
- },
2244
2231
"isProjectRoot": true,
2245
2232
"location": "",
2246
2233
"name": "tap-testdir-reify-collide-case-variant-dep-names",
@@ -2275,19 +2262,6 @@ ArboristNode {
2275
2262
"type": "prod",
2276
2263
},
2277
2264
},
2278
- "fsChildren": Set {
2279
- ArboristNode {
2280
- "dev": true,
2281
- "extraneous": true,
2282
- "location": "target",
2283
- "name": "target",
2284
- "optional": true,
2285
- "packageName": "ABBREV",
2286
- "path": "{CWD}/test/arborist/tap-testdir-reify-collide-case-variant-dep-names/target",
2287
- "peer": true,
2288
- "version": "1.0.0",
2289
- },
2290
- },
2291
2265
"isProjectRoot": true,
2292
2266
"location": "",
2293
2267
"name": "tap-testdir-reify-collide-case-variant-dep-names",
You can’t perform that action at this time.
0 commit comments