Skip to content

Commit 2bb0270

Browse files
committed
removed console.logs
1 parent 031a82e commit 2bb0270

5 files changed

Lines changed: 11 additions & 17 deletions

File tree

.vscode/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,4 @@
3737
"source.fixAll.biome": "explicit",
3838
"source.organizeImports.biome": "explicit"
3939
}
40-
}
40+
}

apps/api/src/routes/project/route.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1417,7 +1417,7 @@ router.get(
14171417
dailyTopFlagImpressions,
14181418
};
14191419

1420-
console.log("Final API Response:", JSON.stringify(finalResult, null, 2));
1420+
// console.log("Final API Response:", JSON.stringify(finalResult, null, 2));
14211421

14221422
res.json(finalResult);
14231423
} catch (error) {
@@ -1449,7 +1449,7 @@ router.get(
14491449
include: { flag: true, environment: true },
14501450
});
14511451

1452-
console.log("experiments in a/b analytics ==>", experiments);
1452+
// console.log("experiments in a/b analytics ==>", experiments);
14531453

14541454
const results = await Promise.all(
14551455
experiments.map(async (exp) => {
@@ -1491,8 +1491,8 @@ router.get(
14911491
};
14921492
}
14931493

1494-
console.log("summary data form tinybird ==>", summary);
1495-
console.log("trend data form tinybird ==>", trend);
1494+
// console.log("summary data form tinybird ==>", summary);
1495+
// console.log("trend data form tinybird ==>", trend);
14961496

14971497
// Try to find variation named 'off' or 'control', otherwise take index 0
14981498
const control =
@@ -1563,10 +1563,10 @@ router.get(
15631563
new Set(results.map((r) => r.environmentResults[0].environmentName))
15641564
).sort();
15651565

1566-
console.log(
1567-
"results from a/b metrics ==>",
1568-
JSON.stringify(results, null, 2)
1569-
);
1566+
// console.log(
1567+
// "results from a/b metrics ==>",
1568+
// JSON.stringify(results, null, 2)
1569+
// );
15701570

15711571
res.json({
15721572
experiments: results,

apps/web/components/analytics/flag-usage-metrics.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,6 @@ export function FlagUsageMetrics({
6060
days = 90;
6161
}
6262

63-
console.log("data in FlagUsageMetrics ==>", data);
64-
6563
const variationChartData = useMemo(() => {
6664
if (!data?.dailyVariationUsage) {
6765
return [];

apps/web/middleware.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,6 @@ export async function middleware(request: NextRequest) {
3434
session = null;
3535
}
3636

37-
console.log("session ==>", session);
38-
3937
const path = request.nextUrl.pathname;
4038
const isAuthPage = path.startsWith("/login") || path.startsWith("/signup");
4139
const isPublicPath = path === "/";

biome.jsonc

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
{
22
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
3-
"extends": [
4-
"ultracite/core"
5-
],
3+
"extends": ["ultracite/core"],
64
"javascript": {
75
"formatter": {
86
"quoteStyle": "double"
@@ -30,4 +28,4 @@
3028
}
3129
}
3230
}
33-
}
31+
}

0 commit comments

Comments
 (0)