From e671b4af69c864c9c74fd7d6e568b082de29b493 Mon Sep 17 00:00:00 2001 From: Alexis Ksigzkiewicz <115569470+AlexisKGZ@users.noreply.github.com> Date: Tue, 12 Sep 2023 09:49:23 +0200 Subject: [PATCH] Update install-dependencies.js --- src/utils/install-dependencies.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/install-dependencies.js b/src/utils/install-dependencies.js index 3e3b2a3..d18c413 100644 --- a/src/utils/install-dependencies.js +++ b/src/utils/install-dependencies.js @@ -13,7 +13,7 @@ const execCommand = require('./exec-command.js'); var fnInstallSFDX = function(){ core.info('=== Downloading and installing SFDX cli ==='); - execCommand.run('npm install', ['--global', 'sfdx-cli']); + execCommand.run('npm', ['install', '--global', 'sfdx-cli']); //execCommand.run('wget', ['https://developer.salesforce.com/media/salesforce-cli/sfdx-linux-amd64.tar.xz']); //execCommand.run('mkdir', ['-p', 'sfdx-cli']); //execCommand.run('tar', ['xJf', 'sfdx-v7.209.6-8ba3197-linux-x64.tar.xz', '-C', 'sfdx-cli', '--strip-components', '1']);