create-mern-ts-app icon indicating copy to clipboard operation
create-mern-ts-app copied to clipboard

Remove some comments on the top of generated .env

Open Fabianopb opened this issue 6 years ago • 3 comments

When the .env file is generated in the backend it adds one line of comment at the top resulting in:

# This is an auto-generated file, change at your own will and risk.

# Example of environment variables file
# You need a .env file that will be gitignored

# These are the environment variables needed for this application.
# Change the values according to your environment:

Only the first line of line is required, so all the rest of the comments can be removed.

The method to generate the file is here: https://github.com/Fabianopb/create-mern-ts-app/blob/master/create-mern-ts-app.js#L49

Fabianopb avatar Oct 31 '18 15:10 Fabianopb

Hi @Fabianopb , I'll work on it

Jeyveen7 avatar Oct 31 '18 16:10 Jeyveen7

@Jeyveen7 Sorry, I didn't see your comment

AmalJossy avatar Oct 31 '18 16:10 AmalJossy

Whoever gets here, please stop submitting PRs there's already an open PR by @Jeyveen7 for it. I'll invalidate any extra PRs.

Fabianopb avatar Oct 31 '18 17:10 Fabianopb