From c0afaa87765e92be315ad41ea5578ad7b98c0ecf Mon Sep 17 00:00:00 2001 From: Nathan Totten Date: Mon, 23 Oct 2023 05:46:55 -0400 Subject: [PATCH] Formatting --- apps/api/test.md | 2 +- packages/cli/README.md | 4 ++-- packages/cli/src/handlers/generate-rating.ts | 5 ++--- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/apps/api/test.md b/apps/api/test.md index 793aa682..0527e6bd 100644 --- a/apps/api/test.md +++ b/apps/api/test.md @@ -1 +1 @@ -This is a test \ No newline at end of file +This is a test diff --git a/packages/cli/README.md b/packages/cli/README.md index ef6a087f..141a5d53 100644 --- a/packages/cli/README.md +++ b/packages/cli/README.md @@ -2,9 +2,9 @@ ## Installation -1. Build the CLI +1. Build the CLI -**From the root of the project** run: +**From the root of the project** run: ``` npm install diff --git a/packages/cli/src/handlers/generate-rating.ts b/packages/cli/src/handlers/generate-rating.ts index 666f6129..f9e42940 100644 --- a/packages/cli/src/handlers/generate-rating.ts +++ b/packages/cli/src/handlers/generate-rating.ts @@ -84,9 +84,8 @@ export async function generateRating(argv: Arguments) { spectral.setRuleset( await bundleAndLoadRuleset(rulesetFilepath, { fs, fetch }), ); - const spectralOutputReport: SpectralReport = await spectral.run( - openApiSpectralDoc, - ); + const spectralOutputReport: SpectralReport = + await spectral.run(openApiSpectralDoc); outputReport = [...outputReport, ...spectralOutputReport]; const outputContent =