mirror of
https://code.forgejo.org/actions/cache.git
synced 2025-04-23 03:45:31 +00:00
Fix lint issue, build .js files
This commit is contained in:
parent
5a0add1806
commit
cbbb8b4d4f
3 changed files with 60 additions and 1 deletions
|
@ -137,7 +137,7 @@ export async function downloadCache(
|
|||
await pipeResponseToStream(downloadResponse, stream);
|
||||
|
||||
// Validate download size.
|
||||
var contentLengthHeader =
|
||||
const contentLengthHeader =
|
||||
downloadResponse.message.headers["content-length"];
|
||||
|
||||
if (contentLengthHeader) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue