Skip to content

Commit b03ac8c

Browse files
committed
fix initializer: config should always be .js not .ts
Signed-off-by: Kipras Melnikovas <kipras@kipras.org>
1 parent 79d64ff commit b03ac8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/initializer/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ export function initDirectory(
113113
const transformPath = `${basePath}${!isReduced ? '/src/' : ''}/${transform}`;
114114
const configPath = `${basePath}${
115115
!isReduced ? '/src' : ''
116-
}/codeshift.config.ts`;
116+
}/codeshift.config.js`;
117117

118118
if (fs.existsSync(transformPath)) {
119119
throw new Error(`Codemod for ${type} "${transform}" already exists`);

0 commit comments

Comments
 (0)