From c4ba67b55ba4aef4dc1bca60ed58998f68b27a5f Mon Sep 17 00:00:00 2001 From: Garrett Stevens Date: Mon, 17 Jan 2022 16:52:09 -0700 Subject: [PATCH] Fix tar archive path --- scripts/build.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build.js b/scripts/build.js index 259936358d..3c082477bc 100644 --- a/scripts/build.js +++ b/scripts/build.js @@ -39,7 +39,7 @@ function main() { if (location === 'packages/core') { const files = fs.readdirSync(location) const tarball = files.find(fileName => fileName.endsWith('.tgz')) - fs.unlinkSync(tarball) + fs.unlinkSync(path.join(location, tarball)) location = path.join(location, 'dist') const { signal, status } = spawn.sync( 'yarn',