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.
1 parent df94870 commit eb87459Copy full SHA for eb87459
packages/rtk-query-codegen-openapi/src/bin/cli.ts
@@ -38,7 +38,7 @@ const configFile = program.args[0];
38
if (program.args.length === 0 || !/\.(c?(jsx?|tsx?)|jsonc?)?$/.test(configFile)) {
39
program.help();
40
} else {
41
- if (/\.[mc]?tsx?$/.test(configFile) && !ts) {
+ if (/\.c?tsx?$/.test(configFile) && !ts) {
42
console.error('Encountered a TypeScript configfile, but neither esbuild-runner nor ts-node are installed.');
43
process.exit(1);
44
}
0 commit comments