From 0f0d864dc10e61e130aeb1dc0c25ac3c28c28e58 Mon Sep 17 00:00:00 2001 From: Dan O'Brien Date: Tue, 6 Feb 2024 08:15:37 -0500 Subject: [PATCH] Update src/utils/contextYAML.ts Co-authored-by: Henry Barrow --- src/utils/contextYAML.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/utils/contextYAML.ts b/src/utils/contextYAML.ts index 810f84fa..7a777c18 100644 --- a/src/utils/contextYAML.ts +++ b/src/utils/contextYAML.ts @@ -19,12 +19,6 @@ export class YamlContextReader { try { const fileContents = fs.readFileSync(filePath, 'utf8'); const data = yaml.load(fileContents); - //const ajv = new Ajv(); - //const validate = ajv.compile(schema); - //const valid = validate(data); - // if (!valid) { - // throw validate.errors; - // } return data; } catch (e) { window.showErrorMessage(`Error reading YAML file at ${filePath}: ${JSON.stringify(e)}`);