JUST DELETE FIX UNZIPPINGF!
This commit is contained in:
parent
1b7dda805a
commit
23e778ab2b
|
@ -35,11 +35,13 @@ export function download(url, target) {
|
|||
'end',
|
||||
() => resolve(result)
|
||||
)
|
||||
} else {
|
||||
fs.unlink(target, () => {
|
||||
const file = fs.createWriteStream(target)
|
||||
data.pipe(file)
|
||||
})
|
||||
}
|
||||
else {
|
||||
const file = fs.createWriteStream(target)
|
||||
data.pipe(file)
|
||||
}
|
||||
|
||||
data.on(
|
||||
'end',
|
||||
() => {
|
||||
|
|
|
@ -26,7 +26,6 @@
|
|||
<p class="rank-position">{{ rank.rank }}.</p>
|
||||
<p class="rank-player">{{ rank.player }}</p>
|
||||
<p class="rank-points">{{ rank.points }} pts</p>
|
||||
<p class="rank-points">{{ rank.region }} pts</p>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue
Block a user