Fix dotenv plugin accepted file format and clarify README (#6093)
* Fix dotenv plugin accepted file format * clarify README and add disclaimer section
This commit is contained in:
parent
be342b1bc8
commit
7cb5fa8aea
2 changed files with 22 additions and 5 deletions
|
|
@ -2,7 +2,13 @@
|
|||
|
||||
source_env() {
|
||||
if [[ -f .env ]]; then
|
||||
source .env
|
||||
if [[ -o a ]]; then
|
||||
source .env
|
||||
else
|
||||
set -a
|
||||
source .env
|
||||
set +a
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue