mirror of
https://github.com/actions/toolkit.git
synced 2026-08-07 00:00:18 +02:00
More styling fix
This commit is contained in:
@@ -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