mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2026-01-04 02:52:56 +08:00
Add missing function return types
This commit is contained in:
parent
83baffc3f6
commit
2ee77e654f
4
packages/cache/src/cache.ts
vendored
4
packages/cache/src/cache.ts
vendored
@ -121,7 +121,7 @@ async function restoreCachev1(
|
||||
restoreKeys?: string[],
|
||||
options?: DownloadOptions,
|
||||
enableCrossOsArchive = false
|
||||
) {
|
||||
): Promise<string | undefined> {
|
||||
restoreKeys = restoreKeys || []
|
||||
const keys = [primaryKey, ...restoreKeys]
|
||||
|
||||
@ -219,7 +219,7 @@ async function restoreCachev2(
|
||||
restoreKeys?: string[],
|
||||
options?: DownloadOptions,
|
||||
enableCrossOsArchive = false
|
||||
) {
|
||||
): Promise<string | undefined> {
|
||||
restoreKeys = restoreKeys || []
|
||||
const keys = [primaryKey, ...restoreKeys]
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user