evidence
evidence copied to clipboard
Profile.json file not getting created on server start event
Describe the bug
Some events in the telemetry package happen outside of the .evidence/template directory, causing the .profile.json check to be skipped and a file not created. In these events, the project root is used as the cwd
Steps to Reproduce
- Create fresh project install
- Run server
- Check
.evidence/customizaton - No
.profile.jsonfile created
Logs
No response
System Info
No response
Severity
annoyance
Additional Information, or Workarounds
No response
Recently we had an empty profile.json in the template repo which would now be included in any project created using that template. I created this PR to handle these empty files, assume this makes sense to fold in at the same time as this issue:
https://github.com/evidence-dev/evidence/pull/2133