Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[env] Fixed env_from bug when it is called from a subdirectory (#2355)
## Summary Fixes this bug: https://github.com/jetify-com/devbox/pull/2174/files#r1659165116 ## How was it tested? - use compiled devbox - put `export FOO = 'BBBAR'` in .env file - put the following in a devbox.json file ```json { "packages": [], "shell": { "init_hook": [ "echo 'Welcome to devbox!' > /dev/null" ], "scripts": { "test": [ "echo $FOO" ] } }, "env_from": ".env" } ``` - create a subdirectory besides devbox.json called `test` - cd test && devbox run test
- Loading branch information