Skip to content

Commit

Permalink
chore: Array -> List
Browse files Browse the repository at this point in the history
  • Loading branch information
mtshiba committed Apr 4, 2024
1 parent ff29248 commit ec0adb5
Show file tree
Hide file tree
Showing 2 changed files with 105 additions and 58 deletions.
2 changes: 1 addition & 1 deletion ergup.er
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ latest_version = if! sys.argv.get(1) == "nightly":
_stream = urllib.request.urlopen!(latest_url)
s = _stream.read!().decode()
jdata = json.loads s
assert jdata in Array({Str: Obj})
assert jdata in List({Str: Obj})
jdata[0]["tag_name"]
do!:
latest_url = "https://api.github.com/repos/erg-lang/erg/releases/latest"
Expand Down
Loading

0 comments on commit ec0adb5

Please sign in to comment.