Skip to content

Commit a30326c

Browse files
fix: remove console log from fastify route initialization (#376)
* fix: remove console log from fastify route initialization * Update great-clouds-teach.md --------- Co-authored-by: Michael Angelo Rivera <55844504+michaelangeloio@users.noreply.github.com>
1 parent 4299158 commit a30326c

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

.changeset/great-clouds-teach.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@ts-rest/fastify': patch
3+
---
4+
5+
Remove unintentional console log in fasitfy route initialization for `@ts-rest/fastify`

libs/ts-rest/fastify/src/lib/ts-rest-fastify.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -269,8 +269,6 @@ const recursivelyRegisterRouter = <T extends AppRouter>(
269269
options: RegisterRouterOptions
270270
) => {
271271
if (typeof routerImpl === 'object') {
272-
console.log(routerImpl);
273-
274272
if (implementationIsInitialisedRouter(routerImpl)) {
275273
recursivelyRegisterRouter(
276274
routerImpl.routes,

0 commit comments

Comments
 (0)