getsentry / sentry

Developer-first error tracking and performance monitoring
https://sentry.io
Other
38.91k stars 4.17k forks source link

I see a -e in start of my .env.local file after sentry add SENTRY_SERVER_INIT_PATH to my env file #27119

Closed amirhbakan closed 3 years ago

amirhbakan commented 3 years ago

Environment

SaaS (https://sentry.io/)

Version

@sentry/nextjs 6.8.0

Steps to Reproduce

1- I add my env vars to .env.local with docker by echo -e '[vars] > .env.local' 2- run next build 3- run cat .env.local and see a '-e' in the start for the file with space and SENTRY_SERVER_INIT_PATH in the last line of the file that added by the sentry.

Expected Result

I souldn't see a -e at the start of the file that invalids the .env file.

Actual Result

a '-e' at the start of the file that invalids the .env file.

amirhbakan commented 3 years ago

and anyone that can help me to say how sentry add SENTRY_SERVER_INIT_PATH to my .env file, with what script?