Skip to content

Commit

Permalink
Use package_adder when assigning workspace package uids
Browse files Browse the repository at this point in the history
Signed-off-by: Jono Yang <[email protected]>
  • Loading branch information
JonoYang committed Oct 8, 2024
1 parent 280e83f commit c43ec34
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/packagedcode/npm.py
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,9 @@ def create_packages_from_workspaces(
if npm_res.for_packages:
continue

npm_res.for_packages = workspace_package_uids
for package_uid in workspace_package_uids:
package_adder(package_uid, npm_res, codebase)

npm_res.save(codebase)

@classmethod
Expand Down

0 comments on commit c43ec34

Please sign in to comment.