Attempt to fix the test

This commit is contained in:
Aiqiao Yan committed 2020-05-13 13:43:13 -04:00
1 parent 2df0bd7fb8
commit 19e88cf252
5 files changed
+33 -10

No files matched your search

+3 -3
View File
@@ -15,7 +15,7 @@ import * as utils from './cacheUtils'
import {CompressionMethod, SocketTimeout} from './constants'
import {
ArtifactCacheEntry,
CacheOptions,
InternalCacheOptions,
CommitCacheRequest,
ReserveCacheRequest,
ReserveCacheResponse
@@ -180,7 +180,7 @@ export async function retryHttpClientResponse<T>(
export async function getCacheEntry(
keys: string[],
paths: string[],
options?: CacheOptions
options?: InternalCacheOptions
): Promise<ArtifactCacheEntry | null> {
const httpClient = createHttpClient()
const version = getCacheVersion(paths, options?.compressionMethod)
@@ -258,7 +258,7 @@ export async function downloadCache(
export async function reserveCache(
key: string,
paths: string[],
options?: CacheOptions
options?: InternalCacheOptions
): Promise<number> {
const httpClient = createHttpClient()
const version = getCacheVersion(paths, options?.compressionMethod)