mirror of
https://github.com/FranP-code/create-better-t-stack.git
synced 2025-10-12 23:52:15 +00:00
fix(cli): remove telemetry console logs
This commit is contained in:
5
.changeset/metal-lights-hide.md
Normal file
5
.changeset/metal-lights-hide.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"create-better-t-stack": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
remove telemetry console logs
|
||||||
@@ -8,9 +8,6 @@ export function isTelemetryEnabled(): boolean {
|
|||||||
const BTS_TELEMETRY_DISABLED = process.env.BTS_TELEMETRY_DISABLED;
|
const BTS_TELEMETRY_DISABLED = process.env.BTS_TELEMETRY_DISABLED;
|
||||||
const BTS_TELEMETRY = process.env.BTS_TELEMETRY;
|
const BTS_TELEMETRY = process.env.BTS_TELEMETRY;
|
||||||
|
|
||||||
console.log("BTS_TELEMETRY_DISABLED:", BTS_TELEMETRY_DISABLED);
|
|
||||||
console.log("BTS_TELEMETRY:", BTS_TELEMETRY);
|
|
||||||
|
|
||||||
if (BTS_TELEMETRY_DISABLED !== undefined) {
|
if (BTS_TELEMETRY_DISABLED !== undefined) {
|
||||||
return BTS_TELEMETRY_DISABLED !== "1";
|
return BTS_TELEMETRY_DISABLED !== "1";
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user