mirror of
https://github.com/LukeHagar/prettier-plugin-openapi.git
synced 2025-12-06 04:21:03 +00:00
Remove debug logging from parseOpenAPIFile function to clean up code and improve performance.
This commit is contained in:
@@ -56,8 +56,6 @@ const vendorExtensions = getVendorExtensions();
|
||||
* Unified parser that can handle both JSON and YAML OpenAPI files
|
||||
*/
|
||||
function parseOpenAPIFile(text: string, options?: any): OpenAPINode {
|
||||
console.debug('parseOpenAPIFile', text, options);
|
||||
|
||||
let format: 'json' | 'yaml' | undefined;
|
||||
|
||||
if (options?.filepath) {
|
||||
|
||||
Reference in New Issue
Block a user