Commit 6a6ddb5
🧹 Remove console logs in production helper (#27)
🎯 What: Removed console.log statements from ping and testUrls functions in src/utils/helper.ts, as well as an unused pingFinished boolean and some unused parameter variables (statusText and e).
💡 Why: console.log statements in production code add noise to logs and can leak information. Removing these logs improves code maintainability and addresses code health issues.
✅ Verification: Verified with bun test ensuring functionality remains intact. Code formatted with Biome and compiled with TypeScript.
✨ Result: A cleaner helper.ts file without unnecessary debug logging in production.
Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
Co-authored-by: sunnylqm <615282+sunnylqm@users.noreply.github.com>1 parent ec9e7ab commit 6a6ddb5
1 file changed
Lines changed: 2 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | 29 | | |
31 | 30 | | |
32 | 31 | | |
33 | 32 | | |
34 | | - | |
35 | | - | |
| 33 | + | |
36 | 34 | | |
37 | | - | |
38 | 35 | | |
39 | 36 | | |
40 | | - | |
41 | 37 | | |
42 | 38 | | |
43 | | - | |
44 | | - | |
45 | | - | |
| 39 | + | |
46 | 40 | | |
47 | 41 | | |
48 | 42 | | |
49 | 43 | | |
50 | 44 | | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | 45 | | |
55 | 46 | | |
56 | 47 | | |
| |||
64 | 55 | | |
65 | 56 | | |
66 | 57 | | |
67 | | - | |
68 | 58 | | |
69 | 59 | | |
70 | 60 | | |
| |||
0 commit comments