mirror of
https://github.com/nix-community/dream2nix.git
synced 2024-11-13 08:06:18 +03:00
fix bug when no workspaces in package.json
This commit is contained in:
parent
a9f9eaad2a
commit
0ba71a6d1b
@ -46,7 +46,7 @@ let
|
||||
packageJson = tree.files."package.json".jsonContent;
|
||||
in
|
||||
l.flatten
|
||||
(l.forEach packageJson.workspaces
|
||||
(l.forEach (packageJson.workspaces or [])
|
||||
(glob:
|
||||
let
|
||||
workspacePaths = getWorkspacePaths glob tree;
|
||||
|
Loading…
Reference in New Issue
Block a user