Fix typo in function name (#590)

This commit is contained in:
Minh Nguyen authored and GitHub committed 2021-05-03 11:09:44 -04:00
1 parent ac26ce4956
commit e22f646915
7 files changed
+18 -18

No files matched your search

+2 -2
View File
@@ -104,7 +104,7 @@ export async function restoreCache(
await listTar(archivePath, compressionMethod)
}
const archiveFileSize = utils.getArchiveFileSizeIsBytes(archivePath)
const archiveFileSize = utils.getArchiveFileSizeInBytes(archivePath)
core.info(
`Cache Size: ~${Math.round(
archiveFileSize / (1024 * 1024)
@@ -172,7 +172,7 @@ export async function saveCache(
}
const fileSizeLimit = 5 * 1024 * 1024 * 1024 // 5GB per repo limit
const archiveFileSize = utils.getArchiveFileSizeIsBytes(archivePath)
const archiveFileSize = utils.getArchiveFileSizeInBytes(archivePath)
core.debug(`File Size: ${archiveFileSize}`)
if (archiveFileSize > fileSizeLimit) {
throw new Error(