mirror of https://github.com/actions/toolkit
More styling fix
parent
b55731c11b
commit
8ed9455d68
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue