Skip to content

Commit

Permalink
do not try to run online checks if there are no roslaunch uris (#1848)
Browse files Browse the repository at this point in the history
  • Loading branch information
flixr authored and mikepurvis committed Jan 8, 2020
1 parent d93fcae commit 9830d79
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions utilities/roswtf/src/roswtf/roslaunchwtf.py
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,8 @@ def _load_online_ctx(ctx):

def wtf_check_online(ctx):
_load_online_ctx(ctx)
if not ctx.roslaunch_uris:
return
for r in online_roslaunch_warnings:
warning_rule(r, r[0](ctx), ctx)
for r in online_roslaunch_errors:
Expand Down

0 comments on commit 9830d79

Please sign in to comment.