Skip to content

Commit

Permalink
chore: 预适配 maafw v3.0.0 (#305)
Browse files Browse the repository at this point in the history
  • Loading branch information
MistEO authored Jan 14, 2025
1 parent 2e28d66 commit 14b460d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions check_resource.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ def check(dirs: List[Path]) -> bool:

for dir in dirs:
print(f"Checking {dir}...")
status = resource.post_path(dir).wait().status()
if not status.succeeded():
status = resource.post_bundle(dir).wait().status
if not status.succeeded:
print(f"Failed to check {dir}.")
return False

Expand Down

0 comments on commit 14b460d

Please sign in to comment.