mirror of
https://github.com/runcitadel/core.git
synced 2024-11-11 16:30:38 +00:00
Merge branch 'fix/update-app-cli' into beta
This commit is contained in:
commit
2c4839bd31
|
@ -84,6 +84,10 @@ def getArguments():
|
|||
return arguments
|
||||
|
||||
def get_var(var_name):
|
||||
if os.path.isfile(dotCitadelPath):
|
||||
dotenv=parse_dotenv(os.path.join(nodeRoot, "..", ".env"))
|
||||
else:
|
||||
dotenv=parse_dotenv(os.path.join(nodeRoot, ".env"))
|
||||
if var_name in dotenv:
|
||||
return str(dotenv[var_name])
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue
Block a user