JUST DELETE FIX UNZIPPINGF!

This commit is contained in:
BurnyLlama 2021-11-07 20:39:08 +01:00
parent 1b7dda805a
commit 23e778ab2b
2 changed files with 6 additions and 5 deletions

View File

@ -35,11 +35,13 @@ export function download(url, target) {
'end', 'end',
() => resolve(result) () => resolve(result)
) )
} } else {
else { fs.unlink(target, () => {
const file = fs.createWriteStream(target) const file = fs.createWriteStream(target)
data.pipe(file) data.pipe(file)
})
} }
data.on( data.on(
'end', 'end',
() => { () => {

View File

@ -26,7 +26,6 @@
<p class="rank-position">{{ rank.rank }}.</p> <p class="rank-position">{{ rank.rank }}.</p>
<p class="rank-player">{{ rank.player }}</p> <p class="rank-player">{{ rank.player }}</p>
<p class="rank-points">{{ rank.points }} pts</p> <p class="rank-points">{{ rank.points }} pts</p>
<p class="rank-points">{{ rank.region }} pts</p>
</div> </div>
{% endfor %} {% endfor %}
</div> </div>