Skip to content

Commit

Permalink
fix(package): handle empty command string
Browse files Browse the repository at this point in the history
  • Loading branch information
ankitrgadiya committed Sep 26, 2024
1 parent e139bae commit 370d529
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 370d529

Please sign in to comment.