From 8cb1b7f7242ffc8fe838b3138e1185e1b480df72 Mon Sep 17 00:00:00 2001 From: MDLeom <2809763-curben@users.noreply.gitlab.com> Date: Mon, 28 Oct 2024 07:34:01 +0000 Subject: [PATCH] fix: declare fs.stat() --- src/build.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/build.js b/src/build.js index 8714228..9e6ce1a 100644 --- a/src/build.js +++ b/src/build.js @@ -9,7 +9,7 @@ import { Extract } from 'unzipper' import { dirname, join } from 'node:path' -import { mkdir, readdir, rm } from 'node:fs/promises' +import { mkdir, readdir, rm, stat } from 'node:fs/promises' import { pipeline } from 'node:stream/promises' import { fileURLToPath } from 'node:url' import { Readable } from 'node:stream'