From b83e4a6fd26b5993a1f8c25e3517a4acb78a6792 Mon Sep 17 00:00:00 2001 From: Qiao Han Date: Thu, 25 Jan 2024 15:16:49 +0800 Subject: [PATCH] chore: cleanup --- scripts/postinstall.js | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/scripts/postinstall.js b/scripts/postinstall.js index 57196763f..bd4bb5702 100755 --- a/scripts/postinstall.js +++ b/scripts/postinstall.js @@ -163,16 +163,6 @@ async function main() { path: path.resolve("."), pkg: { ...pkg, bin: { [pkg.name]: binPath } }, }); - if (platform === "windows") { - const srcPath = path.join( - process.env.INIT_CWD, - "node_modules", - ".bin", - "supabase" - ); - const dstPath = path.join("bin", "supabase"); - await fs.promises.cp(srcPath, dstPath); - } console.info("Installed Supabase CLI successfully"); }