Merge branch 'develop'
This commit is contained in:
commit
26e690c0e2
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "eternae.ink.update",
|
||||
"version": "1.2.1",
|
||||
"version": "1.2.2",
|
||||
"description": "A simple redirection to serve a gitea instance's repositories' latest release files as an http file server. (302 redirections)",
|
||||
"repository": "https://eternae.ink/arisu/update.eternae.ink",
|
||||
"author": "Alice Gaudon <alice@gaudon.pro>",
|
||||
|
@ -94,7 +94,7 @@ export default class GiteaRepoLatestReleaseController extends Controller {
|
||||
}
|
||||
|
||||
const file = fs.createWriteStream(tmpAssetPath);
|
||||
await new Promise((resolve, reject) => {
|
||||
await new Promise<void>((resolve, reject) => {
|
||||
const httpRequest = https.get(downloadProperties.asset.url, res => {
|
||||
res.on('end', () => {
|
||||
resolve();
|
||||
|
Loading…
Reference in New Issue
Block a user