mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2026-01-03 22:42:55 +08:00
More styling fix
This commit is contained in:
parent
b55731c11b
commit
8ed9455d68
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user