evidence icon indicating copy to clipboard operation
evidence copied to clipboard

Profile.json file not getting created on server start event

Open hughess opened this issue 1 year ago • 1 comments

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.json file created

Logs

No response

System Info

No response

Severity

annoyance

Additional Information, or Workarounds

No response

hughess avatar Jul 09 '24 15:07 hughess

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

hughess avatar Jul 10 '24 12:07 hughess