Skip to content

Commit f889a61

Browse files
author
Matthew Zaso
authored
fix(runCodegen): Increase content type API call limit and remove whitespace (#8)
* Updating formatting of the main function, removing whitespace * fix(runcodegen): increase API limit for getContentTypes and adjust function whitespace This PR adjusts the amount of whitespace in the main runCodegen function and will serve as the release for the previous PR, intercom/contentful-typscript-codgen#7 as it wasn't tagged for release and ther
1 parent 84b7085 commit f889a61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/contentful-typescript-codegen.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ async function runCodegen(outputFile: string) {
4545
const contentTypes = await environment.getContentTypes({ limit: 1000 })
4646
const locales = await environment.getLocales()
4747
const output = await render(contentTypes.items, locales.items)
48-
4948
const outputPath = path.resolve(process.cwd(), outputFile)
49+
5050
outputFileSync(outputPath, output)
5151
}
5252

0 commit comments

Comments
 (0)