Skip to content

Commit

Permalink
Remove an assertion
Browse files Browse the repository at this point in the history
If workspaces are in use, the assertion is not necessarily true.

Signed-off-by: mulhern <[email protected]>
  • Loading branch information
mulkieran committed Mar 12, 2024
1 parent 289d4c4 commit dcc4d7b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion dependency_management/_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,6 @@ def build_cargo_metadata(manifest_path, *, skip_path=False):

metadata = json.loads(metadata_str)
packages = metadata["packages"]
assert len(packages) == 1
package = packages[0]
dependencies = package["dependencies"]

Expand Down

0 comments on commit dcc4d7b

Please sign in to comment.