mirror of
https://code.forgejo.org/actions/cache.git
synced 2025-04-22 08:43:55 +08:00
Fix lint issue, build .js files
This commit is contained in:
parent
8b2a57849f
commit
9bb13c71ec
3 changed files with 59 additions and 9 deletions
|
@ -156,7 +156,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