Skip to content

Commit 65aaa1d

Browse files
committed
Fix handling of organization-scoped package paths.
1 parent 9347bee commit 65aaa1d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

bake/utopia/node.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ def update
2222
# Fetch only production dependencies using `npm ls --production`
2323
production_packages = fetch_production_packages(package_root)
2424
package_paths = expand_package_paths(package_root).select do |path|
25-
production_packages.include?(path.basename.to_s)
25+
package_name = path.relative_path_from(package_root).to_s
26+
production_packages.include?(package_name)
2627
end
2728

2829
package_paths.each do |package_path|

0 commit comments

Comments
 (0)