More styling fix

This commit is contained in:
Yang Cao committed 2020-12-03 10:57:04 -05:00
1 parent 8f05cccf8e
commit 09e68f92cd
1 file changed
+3 -3
+3 -3
View File
@@ -220,10 +220,10 @@ export class DownloadHttpClient {
} }
const resetDestinationStream = async ( const resetDestinationStream = async (
downloadPath: string fileDownloadPath: string
): Promise<void> => { ): Promise<void> => {
await rmFile(downloadPath) await rmFile(fileDownloadPath)
destinationStream = fs.createWriteStream(downloadPath) destinationStream = fs.createWriteStream(fileDownloadPath)
} }
// keep trying to download a file until a retry limit has been reached // keep trying to download a file until a retry limit has been reached