mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 03:23:29 +03:00
maintainers/scripts/update: Fix update_info type
This was revealed when we added return type to `check_subprocess_output`.
This commit is contained in:
parent
76f44542a8
commit
fdea10b433
1 changed files with 2 additions and 2 deletions
|
@ -152,7 +152,7 @@ async def commit_changes(
|
|||
async def check_changes(
|
||||
package: dict,
|
||||
worktree: str,
|
||||
update_info: str,
|
||||
update_info: bytes,
|
||||
) -> list[dict]:
|
||||
if "commit" in package["supportedFeatures"]:
|
||||
changes = json.loads(update_info)
|
||||
|
@ -208,7 +208,7 @@ async def check_changes(
|
|||
async def merge_changes(
|
||||
merge_lock: asyncio.Lock,
|
||||
package: dict,
|
||||
update_info: str,
|
||||
update_info: bytes,
|
||||
temp_dir: tuple[str, str] | None,
|
||||
) -> None:
|
||||
if temp_dir is not None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue