Commit 75e93c5
authored
Fix env loading in notebooks (#1266)
In monorepos it's possible to have multiple `.databricks` folders, while
our extension will only put .env file in the root of the workspace.
In that case notebook bootstrap code was trying (and failing) to loading
`.env` file from the first `.databricks` folder.
This change makes sure we load the `.env` file from the first folder
that actually has it.1 parent 937b46c commit 75e93c5
File tree
1 file changed
+1
-1
lines changed- packages/databricks-vscode/resources/python
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| |||
0 commit comments