MCPcopy Create free account
hub / github.com/d1ll0n/stack-packer / prettierFormat

Function prettierFormat

src/code-gen/prettier.ts:55–62  ·  view source on GitHub ↗
(code: string)

Source from the content-addressed store, hash-verified

53}
54 */
55export const prettierFormat = (code: string) => {
56 try {
57 return prettier.format(code, options)
58 } catch {
59 options = { ...defaultOptions, ...mandatoryOptions }
60 return prettier.format(code, options)
61 }
62}

Callers 1

generateSolFileFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected