Skip to content

Commit

Permalink
fix(prepare): add standalone alias for easier migration in sfops
Browse files Browse the repository at this point in the history
  • Loading branch information
azlam-abdulsalam committed Feb 29, 2024
1 parent 73f6416 commit 621114c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/sfp-cli/src/commands/pool/prepare.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const messages = Messages.loadMessages('@flxblio/sfp', 'prepare');

export default class Prepare extends SfpCommand {

static aliases = ['orchestrator:prepare']
static aliases = ['orchestrator:prepare','prepare']

protected static requiresDevhubUsername = true;
protected static requiresProject = true;
Expand Down Expand Up @@ -203,7 +203,7 @@ export default class Prepare extends SfpCommand {
public validatePoolConfig(poolConfig: any) {
let ajv = new Ajv({ allErrors: true });
let schema = fs.readJSONSync(
path.join(__dirname, '..', '..', 'resources', 'schemas', 'pooldefinition.schema.json'),
path.join(__dirname, '..','..', '..', 'resources', 'schemas', 'pooldefinition.schema.json'),
{ encoding: 'UTF-8' }
);
let validator = ajv.compile(schema);
Expand Down

0 comments on commit 621114c

Please sign in to comment.