Skip to content
This repository has been archived by the owner on Jul 10, 2023. It is now read-only.

Commit

Permalink
feat: use SfdxConfigAggregator
Browse files Browse the repository at this point in the history
  • Loading branch information
mdonnalley committed Apr 20, 2022
1 parent 4850d66 commit 3287e99
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions src/sfdxCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,17 @@
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
*/
import { Command, loadHelpClass } from '@oclif/core';
import { ConfigAggregator, Global, Lifecycle, Logger, Messages, Mode, Org, SfError, SfProject } from '@salesforce/core';
import {
Global,
Lifecycle,
Logger,
Messages,
Mode,
Org,
SfdxConfigAggregator,
SfError,
SfProject,
} from '@salesforce/core';
import { env } from '@salesforce/kit';
import { AnyJson, Dictionary, get, has, isBoolean, JsonMap, Optional } from '@salesforce/ts-types';
import chalk from 'chalk';
Expand Down Expand Up @@ -123,7 +133,7 @@ export abstract class SfdxCommand extends Command {
protected ux!: UX; // assigned in init

// A configAggregator for this command to reference; assigned in init
protected configAggregator!: ConfigAggregator;
protected configAggregator!: SfdxConfigAggregator;

// An org instance for this command to reference.
protected org?: Org;
Expand Down Expand Up @@ -329,7 +339,7 @@ export abstract class SfdxCommand extends Command {
// Verify the command args and flags meet the requirements
//

this.configAggregator = await ConfigAggregator.create();
this.configAggregator = await SfdxConfigAggregator.create();

// Assign this.project if the command requires to be run from within a project.
if (this.statics.requiresProject) {
Expand Down

0 comments on commit 3287e99

Please sign in to comment.