From b29c9f45ffd3f51fe9d92d2e9df946efba1d507e Mon Sep 17 00:00:00 2001 From: IsLand <50228788+IsLand-x@users.noreply.github.com> Date: Sat, 28 Oct 2023 02:36:44 +0800 Subject: [PATCH] fix: cannot find path to paste in postinstall.js --- npm_publish/postinstall.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/npm_publish/postinstall.js b/npm_publish/postinstall.js index e193e823..22756462 100644 --- a/npm_publish/postinstall.js +++ b/npm_publish/postinstall.js @@ -27,7 +27,7 @@ async function getInstallationPath() { // `npm bin` will output the path where binary files should be installed - const value = null //await execShellCommand("npm bin -g"); + const value = await execShellCommand("npm bin -g"); var dir = null;