Commit c76ae19
committed
Don't try to infer the dependencies directory in
We mount the component repo at `/<component-name>` in the Docker
container when using `component compile` in the component template. In
that case, the old code inferred `dependencies_dir` as `/` which isn't
writable in the container environment.
This commit adjusts the implementation to use
`config.inventory.dependencies_dir` which should always be writable.
Since we don't actually use any functionality backed by
`MultiDependency` in `component compile` it shouldn't matter whether we
actually find the correct dependencies directory in all cases.component compile
1 parent 4a87ae8 commit c76ae19
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
146 | | - | |
| 146 | + | |
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
| |||
0 commit comments