mirror of
https://github.com/actions/cache.git
synced 2025-04-22 03:56:45 +00:00
Lint
This commit is contained in:
parent
866455018b
commit
f37c19eacb
1 changed files with 3 additions and 4 deletions
|
@ -4,7 +4,8 @@ import { BearerCredentialHandler } from "@actions/http-client/auth";
|
|||
import { HttpClient, HttpCodes, ITypedResponse } from "@actions/http-client";
|
||||
import {
|
||||
IHttpClientResponse,
|
||||
IRequestOptions
|
||||
IRequestOptions,
|
||||
IHeaders
|
||||
} from "@actions/http-client/interfaces";
|
||||
import {
|
||||
ArtifactCacheEntry,
|
||||
|
@ -88,9 +89,7 @@ export async function getCacheEntry(
|
|||
return null;
|
||||
}
|
||||
if (!isSuccessStatusCode(response.statusCode)) {
|
||||
throw new Error(
|
||||
`Cache service responded with ${response.statusCode}`
|
||||
);
|
||||
throw new Error(`Cache service responded with ${response.statusCode}`);
|
||||
}
|
||||
|
||||
const cacheResult = response.result;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue