Merge branch 'develop'

This commit is contained in:
Alice Gaudon 2020-11-20 13:42:29 +01:00
commit 26e690c0e2
2 changed files with 2 additions and 2 deletions

View File

@ -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>",

View File

@ -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();