Skip to content

Commit

Permalink
Merge pull request #360 from rapyuta-robotics/fix/empty-command
Browse files Browse the repository at this point in the history
fix(package): handle empty command string
  • Loading branch information
ankitrgadiya authored Sep 26, 2024
2 parents e139bae + 370d529 commit caeab18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion riocli/package/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def _sanitize_package(self) -> typing.Dict:
def _sanitize_command(self):
for e in self.spec.executables:
# Skip if command is not set.
if not e.get('command'):
if e.get('command') is None:
continue

c = []
Expand Down

0 comments on commit caeab18

Please sign in to comment.