Fix styling

This commit is contained in:
Yang Cao committed 2020-12-03 10:33:10 -05:00
1 parent 9d3d4bec1b
commit 8f05cccf8e
2 files changed
+5 -3

No files matched your search

+3 -1
View File
@@ -219,7 +219,9 @@ export class DownloadHttpClient {
return parseInt(expected) === received
}
const resetDestinationStream = async (downloadPath: string) => {
const resetDestinationStream = async (
downloadPath: string
): Promise<void> => {
await rmFile(downloadPath)
destinationStream = fs.createWriteStream(downloadPath)
}