We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b27d491 + baee112 commit e0ab929Copy full SHA for e0ab929
conda_forge_tick/utils.py
@@ -193,7 +193,7 @@ def get_default_container_run_args(
193
def run_container_task(
194
name: str,
195
args: Iterable[str],
196
- json_loads: Optional[Callable] = json.loads,
+ json_loads: Callable = json.loads,
197
tmpfs_size_mb: int = DEFAULT_CONTAINER_TMPFS_SIZE_MB,
198
input: Optional[str] = None,
199
mount_dir: Optional[str] = None,
@@ -639,7 +639,7 @@ def _parse_recipes(
639
if package is None
640
else {"name": package.get("name"), "version": package.get("version")}
641
)
642
- if len(source) > 0:
+ if isinstance(source, list) and len(source) > 0:
643
source_data = {
644
"fn": source[0].get("file_name"),
645
"patches": source[0].get("patches"),
0 commit comments