Skip to content

Commit

Permalink
Add logic for excluding group workaround dependencies (#155)
Browse files Browse the repository at this point in the history
  • Loading branch information
cottsay authored Jun 5, 2024
1 parent f234777 commit 6575f2a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 5 additions & 1 deletion colcon_ros/package_identification/ros.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,11 @@ def _get_package(path: str):
f"'{path}': {e}")
return None

pkg.evaluate_conditions(os.environ)
condition_context = {
**os.environ,
'DISABLE_GROUPS_WORKAROUND': '1',
}
pkg.evaluate_conditions(condition_context)
return pkg


Expand Down
1 change: 1 addition & 0 deletions test/spell_check.words
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,5 @@ thomas
todo
tuples
unittest
workaround
workspaces

0 comments on commit 6575f2a

Please sign in to comment.