There was an error while loading. Please reload this page.
1 parent 0c209ff commit eaad999Copy full SHA for eaad999
1 file changed
lib/commands/ls.js
@@ -92,7 +92,7 @@ class LS extends ArboristWorkspaceCmd {
92
}
93
94
if (this.npm.flatOptions.includeWorkspaceRoot
95
- && !edge.to.isWorkspace) {
+ && edge.to && !edge.to.isWorkspace) {
96
return true
97
98
0 commit comments