Closed tscpp closed 4 years ago
https://github.com/tscpp/node-dependencies/blob/master/src/dependencies.ts#L47:
const workspace = (element instanceof WorkspaceItem ? element : element?.workspace) ?? utils.workspaces.length ? new WorkspaceItem(utils.workspaces[0]) : undefined;
Should be:
const workspace = (element instanceof WorkspaceItem ? element : element?.workspace) ?? (utils.workspaces.length ? new WorkspaceItem(utils.workspaces[0]) : undefined);
The dependencies are copied from the first workspace to all of the others.