Skip to content

Commit ebd3531

Browse files
committed
fix unrelated lint err
1 parent 77e9148 commit ebd3531

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/server/scripts/gen-openapi.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ Please try it and give us your feedback, stay tuned for upcoming release announc
176176
// Mintlify expects OpenAPI version fields to be strings, so quote them here.
177177
const fixedYaml = yaml
178178
.replace(/^openapi:\s*(?!['"])([^#\s]+)\s*$/m, 'openapi: "$1"')
179-
.replace(/^ version:\s*(?!['"])([^#\s]+)\s*$/m, ' version: "$1"');
179+
.replace(/^ {2}version:\s*(?!['"])([^#\s]+)\s*$/m, ' version: "$1"');
180180

181181
await writeFile(OUTPUT_PATH, fixedYaml, "utf8");
182182

0 commit comments

Comments
 (0)