You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[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
0 commit comments