Commit 566b215
authored
fix(asdf): use LIB_DIR instead of DIR to avoid clashing (#708)
`DIR` is a common pattern used in devbase to determine the current
running directory. Unfortunately, some of our libraries have _also_
started to use it. This ends up in secenarios where `DIR` can be
overwritten by an imported script. To avoid this, we've used `LIB_DIR`
inside the libraries to prevent clashes from causing an issue.
In reality, we shouldn't be using Bash which would help... for now this
fixes it by changing the newly added `DIR` to be `LIB_DIR`.1 parent 453ae05 commit 566b215
1 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | | - | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
0 commit comments