Working
This commit is contained in:
@@ -27,7 +27,7 @@ CURRENT_EXIT_CODE=0
|
|||||||
load_dotenv(){
|
load_dotenv(){
|
||||||
local file_path=$1
|
local file_path=$1
|
||||||
if [ -f "${file_path}" ]; then
|
if [ -f "${file_path}" ]; then
|
||||||
source <("${file_path}" | sed -e '/^#/d;/^\s*$/d' -e "s/'/'\\\''/g" -e "s/=\(.*\)/='\1'/g")
|
source "${file_path}"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user