Skip to content

Commit

Permalink
fix(prepare): fix incorrect path used in pooldefinition.schema.json
Browse files Browse the repository at this point in the history
  • Loading branch information
azlam-abdulsalam committed Feb 28, 2024
1 parent 0017c05 commit 250b97a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/sfp-cli/src/commands/prepare.ts
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,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 250b97a

Please sign in to comment.