From 9956f77f22a38390790a1847c720dcecfd17bb4d Mon Sep 17 00:00:00 2001 From: SamTV12345 <40429738+samtv12345@users.noreply.github.com> Date: Sat, 16 Mar 2024 14:27:52 +0100 Subject: [PATCH] Fixed installing plugin. --- bin/installPlugins.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/installPlugins.ts b/bin/installPlugins.ts index caeb114fd..0bef9caa9 100644 --- a/bin/installPlugins.ts +++ b/bin/installPlugins.ts @@ -19,7 +19,7 @@ if (thirdOptPlug && thirdOptPlug.includes('path')) { installFromPath = true } -plugins.indexOf('--path') !== -1 && plugins.splice(plugins.indexOf('--path'), 2); +plugins.indexOf('--path') !== -1 && plugins.splice(plugins.indexOf('--path'), 1); const persistInstalledPlugins = async () => { const plugins:PackageData[] = [] @@ -37,6 +37,7 @@ const persistInstalledPlugins = async () => { async function run() { for (const plugin of plugins) { if(installFromPath) { + console.log(`Installing plugin from path: ${plugin}`); await linkInstaller.installFromPath(plugin); continue; }