Skip to content

Commit 8c26432

Browse files
rowanc1github-actions[bot]
authored andcommitted
chore(*): update formatted/generated files [skip ci]
1 parent 436d216 commit 8c26432

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

packages/oxa/src/validate-file.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,7 @@ export function isYamlFilePath(filePath: string): boolean {
1717
return yamlFileExtensions.some((extension) => filePath.endsWith(extension));
1818
}
1919

20-
export function parseDocumentText(
21-
content: string,
22-
isYaml: boolean,
23-
): unknown {
20+
export function parseDocumentText(content: string, isYaml: boolean): unknown {
2421
return isYaml ? yaml.load(content) : JSON.parse(content);
2522
}
2623

0 commit comments

Comments
 (0)