Skip to content

Commit

Permalink
fix: point config-parser to demo file for now
Browse files Browse the repository at this point in the history
  • Loading branch information
tomcarman committed May 20, 2024
1 parent 83f1af4 commit a21027c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/commands/metalint/run.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ export default class MetalintRun extends SfCommand<MetalintRunResult> {

await readConfigFile();

this.log(results);

return { outcome: results };
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/common/config-parser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import * as yup from 'yup';
import { ConfigFile } from '../common/types.js';

export async function readConfigFile(): Promise<void> {
const loadedConfig = yaml.load(fs.readFileSync('config.yaml', 'utf8'));
const loadedConfig = yaml.load(fs.readFileSync('demo/config.yaml', 'utf8'));

const configSchema = yup.object().shape({
version: yup.number().required(),
Expand Down

0 comments on commit a21027c

Please sign in to comment.