Skip to content

Commit 3c80747

Browse files
committed
return the parsed object like node dotenvx does
1 parent 5d3a092 commit 3c80747

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/dotenvx/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def load_dotenvx(
2121
parsed = json.loads(output)
2222
for key, value in parsed.items():
2323
os.environ[key] = value
24-
return True
24+
return parsed
2525
except Exception as e:
2626
raise RuntimeError(f"Failed to parse dotenvx output: {e}")
2727

0 commit comments

Comments
 (0)