From a881a1171188d31ceee274f6994a354dc4258126 Mon Sep 17 00:00:00 2001 From: Timothee Legros Date: Fri, 8 Nov 2024 02:31:49 +0200 Subject: [PATCH] stringify result --- .../server/scripts/validate-external-api-versioning.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/commonwealth/server/scripts/validate-external-api-versioning.ts b/packages/commonwealth/server/scripts/validate-external-api-versioning.ts index 0c224b498ac..1a6274f6e2d 100644 --- a/packages/commonwealth/server/scripts/validate-external-api-versioning.ts +++ b/packages/commonwealth/server/scripts/validate-external-api-versioning.ts @@ -143,7 +143,7 @@ async function validateExternalApiVersioning() { }, }); await Promise.all([unlink(productionOasPath), unlink(localOasPath)]); - console.log('OpenAPI spec diff:', result); + console.log('OpenAPI spec diff:', JSON.stringify(result, null, 2)); if (result.breakingDifferencesFound) { throw Error('External API has breaking changes, update the Major version');