diff --git a/package.json b/package.json index a29c336..95d8fbd 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "texei-sfdx-plugin", "description": "Texeï's plugin for sfdx", - "version": "2.1.2", + "version": "2.1.3", "author": "Texeï", "bugs": "https://github.com/texei/texei-sfdx-plugin/issues", "dependencies": { diff --git a/src/commands/texei/package/dependencies/install.ts b/src/commands/texei/package/dependencies/install.ts index 77ac7ba..515b2af 100644 --- a/src/commands/texei/package/dependencies/install.ts +++ b/src/commands/texei/package/dependencies/install.ts @@ -243,7 +243,9 @@ export default class Install extends SfCommand // INSTALLATION KEY // eslint-disable-next-line @typescript-eslint/prefer-optional-chain if (installationKeys && installationKeys[i]) { - args.push('--installationkey'); + // use -k instead of --installationkey to avoid breaking script between --installationkey and --installation-key + // in case scripts still use sfdx instead of sf v2 + args.push('-k'); args.push(`${installationKeys[i]}`); }