From 370d529a339112a192a63c802b4d88d7afe1f9ef Mon Sep 17 00:00:00 2001 From: Ankit R Gadiya Date: Thu, 26 Sep 2024 09:47:54 +0530 Subject: [PATCH] fix(package): handle empty command string --- riocli/package/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/riocli/package/model.py b/riocli/package/model.py index 9ec4b204..becf3bc3 100644 --- a/riocli/package/model.py +++ b/riocli/package/model.py @@ -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 = []