Fix typo in function name (#590)

This commit is contained in:
Minh Nguyen
2021-05-03 18:09:44 +03:00
committed by GitHub
parent fbdf27470c
commit d972090333
7 changed files with 18 additions and 18 deletions

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(