Compare commits
5
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b55fe924e7 | ||
|
|
7ed4bc8e51 | ||
|
|
82c08d45b1 | ||
|
|
b3d95bb012 | ||
|
|
988c942952 |
No files matched your search
@@ -17,9 +17,9 @@ preferred_target = "native"
|
|||||||
source = "src"
|
source = "src"
|
||||||
|
|
||||||
import {
|
import {
|
||||||
"moonbitlang/async@0.22.9",
|
"moonbitlang/async@0.22.10",
|
||||||
"moonbitlang/x@0.5.7",
|
"moonbitlang/x@0.5.9",
|
||||||
"lin2077-zeming/moonxz@0.4.6",
|
"lin2077-zeming/moonxz@0.4.6",
|
||||||
"gaato/zstd@0.6.0",
|
"gaato/zstd@0.6.1",
|
||||||
"hustcer/ed25519@0.6.2",
|
"hustcer/ed25519@0.6.2",
|
||||||
}
|
}
|
||||||
Vendored
+1
-1
@@ -35,7 +35,7 @@ pub async fn http_get(
|
|||||||
let (resp, body) = @http.get(cur, headers~) catch {
|
let (resp, body) = @http.get(cur, headers~) catch {
|
||||||
e => raise Network("GET \{cur} failed: \{e}")
|
e => raise Network("GET \{cur} failed: \{e}")
|
||||||
}
|
}
|
||||||
let code = resp.code
|
let code = resp.code.to_int()
|
||||||
if code == 200 {
|
if code == 200 {
|
||||||
return Some(body.binary())
|
return Some(body.binary())
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -10,7 +10,6 @@ import {
|
|||||||
"moonbitlang/core/argparse",
|
"moonbitlang/core/argparse",
|
||||||
"moonbitlang/core/env",
|
"moonbitlang/core/env",
|
||||||
"moonbitlang/core/encoding/utf8",
|
"moonbitlang/core/encoding/utf8",
|
||||||
"moonbitlang/async",
|
|
||||||
"moonbitlang/async/fs",
|
"moonbitlang/async/fs",
|
||||||
"moonbitlang/async/process",
|
"moonbitlang/async/process",
|
||||||
"lin2077-zeming/moonxz/lib" @xz,
|
"lin2077-zeming/moonxz/lib" @xz,
|
||||||
|
|||||||
Reference in new issue
Block a user