Skip to content

Commit

Permalink
ci: Format code
Browse files Browse the repository at this point in the history
  • Loading branch information
seambot committed Jun 20, 2024
1 parent 1decbf6 commit 41a0ef7
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/lib/openapi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,11 @@ const extractedOpenapi = extractOpenapi()

const outputFilePath = './extractedOpenapi.json'
writeFile(outputFilePath, JSON.stringify(extractedOpenapi, null, 2))
.then(() =>
{ console.log('Extracted Openapi data written to extractedOpenapi.json'); },
)
.catch((error) => { console.error('Error writing extractedOpenapi:', error); })
.then(() => {
console.log('Extracted Openapi data written to extractedOpenapi.json')

Check failure on line 106 in src/lib/openapi.ts

View workflow job for this annotation

GitHub Actions / Format code

Unexpected console statement

Check failure on line 106 in src/lib/openapi.ts

View workflow job for this annotation

GitHub Actions / Lint (Node.js v18)

Unexpected console statement

Check failure on line 106 in src/lib/openapi.ts

View workflow job for this annotation

GitHub Actions / Lint (Node.js v20)

Unexpected console statement
})
.catch((error) => {
console.error('Error writing extractedOpenapi:', error)

Check failure on line 109 in src/lib/openapi.ts

View workflow job for this annotation

GitHub Actions / Format code

Unexpected console statement

Check failure on line 109 in src/lib/openapi.ts

View workflow job for this annotation

GitHub Actions / Lint (Node.js v18)

Unexpected console statement

Check failure on line 109 in src/lib/openapi.ts

View workflow job for this annotation

GitHub Actions / Lint (Node.js v20)

Unexpected console statement
})

console.log(JSON.stringify(extractedOpenapi, null, 2))

Check failure on line 112 in src/lib/openapi.ts

View workflow job for this annotation

GitHub Actions / Format code

Unexpected console statement

Check failure on line 112 in src/lib/openapi.ts

View workflow job for this annotation

GitHub Actions / Lint (Node.js v18)

Unexpected console statement

Check failure on line 112 in src/lib/openapi.ts

View workflow job for this annotation

GitHub Actions / Lint (Node.js v20)

Unexpected console statement

0 comments on commit 41a0ef7

Please sign in to comment.