anonymize non-git project id (#3753)
This commit is contained in:
parent
0cf0b2e2d0
commit
cabd9dcc80
2 changed files with 6 additions and 1 deletions
5
.changeset/lemon-fireants-film.md
Normal file
5
.changeset/lemon-fireants-film.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
'@astrojs/telemetry': patch
|
||||
---
|
||||
|
||||
Fix issue where project id fallback was not getting hashed
|
|
@ -85,6 +85,6 @@ export function getProjectInfo(isCI: boolean): ProjectInfo {
|
|||
}
|
||||
return {
|
||||
isGit: false,
|
||||
anonymousProjectId: isCI ? '' : process.cwd(),
|
||||
anonymousProjectId: isCI ? '' : createAnonymousValue(process.cwd()),
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue