We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The resolveConfig method is invoked with process.cwd() as first argument.
resolveConfig
process.cwd()
contentful-typescript-codegen/src/renderers/render.ts
Line 41 in ee3f7d2
Using process.cwd() as argument the config returns null on Node v18.17.0. Without it, the config is resolved correctly.
null
.prettierrc
{ trailingComma': 'es5', tabWidth: 2, semi: true, singleQuote: true, printWidth: 80, proseWrap: 'never' }
index.js
const prettier = require("prettier"); const prettierConfig = await resolveConfig(process.cwd()) // null
const prettier = require("prettier"); const prettierConfig = await resolveConfig() // resolved correctly
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The
resolveConfig
method is invoked withprocess.cwd()
as first argument.contentful-typescript-codegen/src/renderers/render.ts
Line 41 in ee3f7d2
Using
process.cwd()
as argument the config returnsnull
on Node v18.17.0.Without it, the config is resolved correctly.
.prettierrc
index.js
The text was updated successfully, but these errors were encountered: