mirror of https://github.com/actions/toolkit
Add missing function return types
parent
83baffc3f6
commit
2ee77e654f
|
@ -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…
Reference in New Issue