Skip to content

Commit

Permalink
Merge pull request #139 from texei/package-installation-keys
Browse files Browse the repository at this point in the history
Removed installationkey warning
  • Loading branch information
FabienTaillon committed Oct 16, 2023
2 parents 5c072ee + 9e5da8e commit da335a8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
4 changes: 3 additions & 1 deletion src/commands/texei/package/dependencies/install.ts
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,9 @@ export default class Install extends SfCommand<PackageDependenciesInstallResult>
// 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]}`);
}

Expand Down

0 comments on commit da335a8

Please sign in to comment.