Skip to content

Commit

Permalink
Fix hardis:org:user:activateinvalid interactive mode (#877)
Browse files Browse the repository at this point in the history
Co-authored-by: paferpotest <82517059+paferpotest@users.noreply.github.com>
  • Loading branch information
nvuillam and paferpotest authored Nov 11, 2024
1 parent a946e10 commit 9292705
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@

Note: Can be used with `sfdx plugins:install sfdx-hardis@beta` and docker image `hardisgroupcom/sfdx-hardis@beta`

## [5.6.1] 2024-11-11

- Fix hardis:org:user:activateinvalid interactive mode
- Update Dockerfile email address
- Upgrade default Grafana Dashboards to add Unused Apex Classes indicator
- Update hardis:org:diagnose:unused-apex-classes and hardis:doc:packagexml2markdown documentation
Expand Down
2 changes: 1 addition & 1 deletion src/commands/hardis/org/user/activateinvalid.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ See article below
public async run(): Promise<AnyJson> {
const { flags } = await this.parse(OrgUserActiveInvalid);
this.profiles = flags.profiles ? flags.profiles.split(',') : [];
const hasProfileConstraint = this.profiles !== null;
const hasProfileConstraint = this.profiles !== null && this.profiles.length > 0;
this.debugMode = flags.debug || false;

const conn = flags['target-org'].getConnection();
Expand Down

0 comments on commit 9292705

Please sign in to comment.