Skip to content

Commit f761549

Browse files
committed
Fix __AppController problem.
1 parent 1f743f5 commit f761549

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/migrate/src/analyzers/MigrateControllerAnalyzer.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export namespace MigrateControllerAnalyzer {
1313
const name: string =
1414
route.operation()["x-samchon-controller"] ??
1515
(route.accessor.length <= 1
16-
? "App"
16+
? "__App"
1717
: route.accessor.slice(0, -1).map(StringUtil.capitalize).join("")) +
1818
"Controller";
1919
MapUtil.take(collection)(name)(() => ({

0 commit comments

Comments
 (0)