Skip to content

Commit

Permalink
Update extensions/commands/sbom/cmd_cyclonedx.py
Browse files Browse the repository at this point in the history
  • Loading branch information
memsharded authored Sep 24, 2024
1 parent 463c51c commit 7b87517
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extensions/commands/sbom/cmd_cyclonedx.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def me_as_tool() -> Tool:
remotes, args.update)
# endregion COPY

def filter_context(node): return not args.no_build_requires or node.context != CONTEXT_BUILD
def filter_context(n): return not args.no_build_requires or n.context != CONTEXT_BUILD

components = {node: create_component(node) for node in deps_graph.nodes if filter_context(node)}
bom = Bom()
Expand Down

0 comments on commit 7b87517

Please sign in to comment.