fix(core): fix directory grouping on dep-graph (#2972)
This commit is contained in:
parent
4095d21d20
commit
06c35fa71d
@ -10,7 +10,7 @@ function groupProjectsByDirectory(projects) {
|
||||
|
||||
projects.forEach((project) => {
|
||||
const split = project.data.root.split('/');
|
||||
const directory = split.slice(1, -2).join('/');
|
||||
const directory = split.slice(1, -1).join('/');
|
||||
|
||||
if (!groups.hasOwnProperty(directory)) {
|
||||
groups[directory] = [];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user