More styling fix
This commit is contained in:
1 parent
8f05cccf8e
commit
09e68f92cd
1 file changed
+3
-3
@@ -220,10 +220,10 @@ export class DownloadHttpClient {
|
||||
}
|
||||
|
||||
const resetDestinationStream = async (
|
||||
downloadPath: string
|
||||
fileDownloadPath: string
|
||||
): Promise<void> => {
|
||||
await rmFile(downloadPath)
|
||||
destinationStream = fs.createWriteStream(downloadPath)
|
||||
await rmFile(fileDownloadPath)
|
||||
destinationStream = fs.createWriteStream(fileDownloadPath)
|
||||
}
|
||||
|
||||
// keep trying to download a file until a retry limit has been reached
|
||||
|
||||
Reference in new issue
Block a user