Fix styling
This commit is contained in:
1 parent
9d3d4bec1b
commit
8f05cccf8e
2 files changed
+5
-3
No files matched your search
@@ -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)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user