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
+2 -2
View File
@@ -219,7 +219,7 @@ async function uploadFile(
options?: UploadOptions
): Promise<void> {
// Upload Chunks
const fileSize = fs.statSync(archivePath).size
const fileSize = utils.getArchiveFileSizeInBytes(archivePath)
const resourceUrl = getCacheApiUrl(`caches/${cacheId.toString()}`)
const fd = fs.openSync(archivePath, 'r')
const uploadOptions = getUploadOptions(options)
@@ -300,7 +300,7 @@ export async function saveCache(
// Commit Cache
core.debug('Commiting cache')
const cacheSize = utils.getArchiveFileSizeIsBytes(archivePath)
const cacheSize = utils.getArchiveFileSizeInBytes(archivePath)
core.info(
`Cache Size: ~${Math.round(cacheSize / (1024 * 1024))} MB (${cacheSize} B)`
)