Skip to content

Commit 3300aae

Browse files
committed
clean up
1 parent 9d09481 commit 3300aae

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

scripts/template.helper.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ const handleRoutes = (importNodes, fileContent, withNestedDependencies, p, compo
7575
const routes = extractRoutesFromTS(fileContent.substring(...provideRouter.range), componentName);
7676
const flattenedRoutes = handleRoutePaths(routes);
7777

78-
const cwd = process.env.INIT_CWD ?? process.cwd();
7978
const resolvedComponents = resolveComponents(flattenedRoutes, fileContent, p);
8079

8180
return resolvedComponents.flatMap(c => loadDependencies(c, withNestedDependencies, recursionDepth));

0 commit comments

Comments
 (0)