Skip to content

Commit

Permalink
Disabled json formatting for now
Browse files Browse the repository at this point in the history
  • Loading branch information
JumpLink committed Jul 19, 2024
1 parent 2f225bd commit b361244
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions packages/generator-typescript/src/template-processor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -197,10 +197,11 @@ export class TemplateProcessor {
this.log.info('Formatting', outputPath)
content = await this.registry.getFormatter('dts').format(content)
}
if (outputFilename.endsWith('.json')) {
this.log.info('Formatting', outputPath)
content = await this.registry.getFormatter('json').format(content)
}
// TODO: Fix me
// if (outputFilename.endsWith('.json')) {
// this.log.info('Formatting', outputPath)
// content = await this.registry.getFormatter('json').format(content)
// }
} catch (error) {
this.log.error('Failed to format output...', error)
}
Expand Down
2 changes: 1 addition & 1 deletion types
Submodule types updated 2311 files

0 comments on commit b361244

Please sign in to comment.