fix: ensure we're in the right dir for .env

This commit is contained in:
Alexis Tyler
2020-11-20 12:56:07 +10:30
parent e99727c307
commit 299f440926

View File

@@ -179,7 +179,7 @@ _start() {
cd $node_base_directory
# Local .env
if [ -f .env ]; then
if [ -f $node_base_directory/node-api/.env ]; then
# Load Environment Variables
export $(egrep -v '^#' $node_base_directory/node-api/.env | xargs)
fi