fix: use name attr before workspace path

This commit is contained in:
tgunnoe 2022-03-15 14:29:28 -04:00 committed by Taylor
parent 170a157b1f
commit d019c19164

View File

@ -291,8 +291,9 @@
workspaceDependendencies =
l.mapAttrsToList
(wsName: wsJson: {
name = wsName;
(wsPath: wsJson: {
# If the name attr doesn't exist, use the relative path as name
name = wsJson.name or wsPath;
version = wsJson.version or "unknown";
})
workspacesPackageJson;