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']);