summaryrefslogtreecommitdiff
path: root/packages/telemetry/src
diff options
context:
space:
mode:
Diffstat (limited to 'packages/telemetry/src')
-rw-r--r--packages/telemetry/src/project-info.ts5
-rw-r--r--packages/telemetry/src/system-info.ts8
2 files changed, 8 insertions, 5 deletions
diff --git a/packages/telemetry/src/project-info.ts b/packages/telemetry/src/project-info.ts
index afb6c83bb..66b83c5ac 100644
--- a/packages/telemetry/src/project-info.ts
+++ b/packages/telemetry/src/project-info.ts
@@ -65,7 +65,10 @@ function createAnonymousValue(payload: BinaryLike): string {
function getProjectIdFromGit(): string | null {
try {
- const originBuffer = execSync(`git rev-list --max-parents=0 HEAD`, {timeout: 500, stdio: [0, 'pipe', 0]});
+ const originBuffer = execSync(`git rev-list --max-parents=0 HEAD`, {
+ timeout: 500,
+ stdio: [0, 'pipe', 0],
+ });
return String(originBuffer).trim();
} catch (_) {
return null;
diff --git a/packages/telemetry/src/system-info.ts b/packages/telemetry/src/system-info.ts
index 0f0de7025..9fe628ff0 100644
--- a/packages/telemetry/src/system-info.ts
+++ b/packages/telemetry/src/system-info.ts
@@ -7,16 +7,16 @@ import os from 'node:os';
* Astro Telemetry -- System Info
*
* To better understand our telemetry insights, Astro collects the following anonymous information
- * about the system that it runs on. This helps us prioritize fixes and new features based on a
+ * about the system that it runs on. This helps us prioritize fixes and new features based on a
* better understanding of our real-world system requirements.
- *
+ *
* ~~~
*
* Q: Can this system info be traced back to me?
*
* A: No personally identifiable information is contained in the system info that we collect. It could
- * be possible for someone with direct access to your machine to collect this information themselves
- * and then attempt to match it all together with our collected telemetry data, however most users'
+ * be possible for someone with direct access to your machine to collect this information themselves
+ * and then attempt to match it all together with our collected telemetry data, however most users'
* systems are probably not uniquely identifiable via their system info alone.
*
* ~~~