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.
2 parents f5a307b + 55405d7 commit 7106211Copy full SHA for 7106211
src/generate-nitro-package.ts
@@ -181,7 +181,9 @@ export class NitroModuleFactory {
181
...newWorkspacePackageJsonFile.scripts,
182
build: `${this.config.pm} run typecheck && bob build`,
183
codegen: `nitrogen --logLevel="debug" && ${this.config.pm} run build${this.config.langs.includes(SupportedLang.KOTLIN) ? ' && node post-script.js' : ''}`,
184
- postcodegen: this.getPostCodegenScript(),
+ postcodegen: !this.config.langs.includes(SupportedLang.KOTLIN)
185
+ ? this.getPostCodegenScript()
186
+ : undefined,
187
}
188
189
// Resolve and pin latest Nitro tools to concrete versions
0 commit comments