Skip to content

Commit

Permalink
(launch) fix describe of PathJoinSubstitution (#771)
Browse files Browse the repository at this point in the history
Signed-off-by: Matthijs van der Burgh <[email protected]>
  • Loading branch information
MatthijsBurgh authored Apr 11, 2024
1 parent 9390852 commit f8f25b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion launch/launch/substitutions/path_join_substitution.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def substitutions(self) -> Iterable[Substitution]:

def describe(self) -> Text:
"""Return a description of this substitution as a string."""
return "LocalVar('{}')".format(' + '.join([s.describe() for s in self.substitutions]))
return f"PathJoin('{' + '.join([s.describe() for s in self.substitutions])}')"

def perform(self, context: LaunchContext) -> Text:
"""Perform the substitution by retrieving the local variable."""
Expand Down

0 comments on commit f8f25b8

Please sign in to comment.