laravel-dotenv-editor icon indicating copy to clipboard operation
laravel-dotenv-editor copied to clipboard

Keep original file spaces

Open antonkomarev opened this issue 8 years ago • 3 comments

If .env file has empty lines between key-value pairs:

APP_ENV=local

APP_KEY=

APP_DEBUG=true

APP_LOG_LEVEL=debug

After edit it will look like:

APP_ENV=local
APP_KEY=
APP_DEBUG=true
APP_LOG_LEVEL=debug

It will be great if empty lines will be saved.

antonkomarev avatar Sep 21 '16 21:09 antonkomarev

Hey,

I trie to implement this feature in the next release.

Brotzka avatar Sep 22 '16 11:09 Brotzka

@Brotzka ,

Want to use this package, but not using because of few issues like removing line break and comments are considered as key. This shouldn't happen.

https://github.com/Brotzka/laravel-dotenv-editor/issues/37

Any update on fixing it?

twf-nikhila avatar Sep 05 '18 13:09 twf-nikhila

@twf-nikhila

please give a try on this

GeoSot avatar Nov 04 '18 22:11 GeoSot