refactor: use async/await instead of promises

support both local and network config
This commit is contained in:
Sunny Young
2025-12-06 13:42:56 +08:00
parent 540f13b35b
commit 4b1bd7c2ab
6 changed files with 113 additions and 98 deletions
+12 -22
View File
@@ -1,25 +1,15 @@
{
"object": {
"pins": [
{
"package": "PromiseKit",
"repositoryURL": "https://github.com/mxcl/PromiseKit",
"state": {
"branch": null,
"revision": "2bc44395edb4f8391902a9ff7c220471882a4d07",
"version": "8.2.0"
}
},
{
"package": "swift-argument-parser",
"repositoryURL": "https://github.com/apple/swift-argument-parser",
"state": {
"branch": null,
"revision": "cdd0ef3755280949551dc26dee5de9ddeda89f54",
"version": "1.6.2"
}
"originHash" : "fc7f739a75c4c771c736e9ff1f765bbd53fb1f3c5beaa621fbc867f0d71964c4",
"pins" : [
{
"identity" : "swift-argument-parser",
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-argument-parser",
"state" : {
"revision" : "cdd0ef3755280949551dc26dee5de9ddeda89f54",
"version" : "1.6.2"
}
]
},
"version": 1
}
],
"version" : 3
}