Add some debugging statements

This commit is contained in:
Yang Cao
2020-12-03 12:40:37 -05:00
parent 8ed9455d68
commit 05b1692026
2 changed files with 11 additions and 0 deletions

View File

@@ -305,6 +305,9 @@ export async function createEmptyFilesForArtifact(
export async function getFileSize(filePath: string): Promise<number> {
const stats = await fs.stat(filePath)
debug(
`${filePath} size:(${stats.size}) blksize:(${stats.blksize}) blocks:(${stats.blocks})`
)
return stats.size
}