We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
prepare-binding
1 parent 65f21bb commit 7782c48Copy full SHA for 7782c48
src/prepare.ts
@@ -145,7 +145,7 @@ export class Prepare {
145
const outputPath: string = this.determineBindingOutputPath(extension)
146
const schema: string = this.determineInputSchema(schemaPath)
147
148
- const schemaContents: string = fs.readFileSync(schema, 'utf-8')
+ const schemaContents: string = importSchema(schema)
149
const finalSchema: string = generateCode(schemaContents, generator)
150
fs.writeFileSync(outputPath, finalSchema, { flag: 'w' })
151
0 commit comments