Commit Graph

8 Commits

Author SHA1 Message Date
Edwin Kofler
3492043241
fix: lint errors from scripts/checkstyle.py (#1385)
Co-authored-by: James Hegedus <jthegedus@hey.com>
2022-12-23 20:53:22 +11:00
Dylan Chong
5af7625769
fix: reshim did not rewrite executable path (#1311)
Co-authored-by: James Hegedus <jthegedus@hey.com>
Fixes https://github.com/asdf-vm/asdf/issues/1115
Fixes https://github.com/asdf-vm/asdf/issues/1231
Fixes https://github.com/asdf-vm/asdf/issues/1286
2022-12-21 08:25:34 +11:00
Trevor Brown
788ccab597
fix: only iterate over directories in the plugins/ directory (#1228)
Fixes part of #1029
2022-05-12 07:48:54 -04:00
Ignacio El Kadre
91136234e9 fix: instead /tmp, use TMPDIR if defined 2022-05-09 08:09:27 -04:00
Trevor Brown
39909e01af
fix: add asdf to list of banned commands (#1224)
Ban recusive asdf calls as they are inefficient and may introduce bugs.
If you find yourself needing to invoke an `asdf` command from within
asdf code, please source the appropriate file and invoke the
corresponding function.
2022-05-06 09:21:06 -04:00
Trevor Brown
27f7ef7852
fix: don't invoke asdf inside asdf commands (#1208)
* fix: don't invoke asdf inside asdf commands

Recursive calls have a number of disadvantages:

* Poorer performance since each invocation spawns and new process and re-executes all the code in bin/asdf
* Makes debugging more difficult
* More likely to introduce subtle bugs and the possibility for infinite loops
2022-04-25 08:45:19 -04:00
Yves Blusseau
288468f93f
fix: don't generate on error if backup file doesn't exists (#1057)
Signed-off-by: JrCs <90z7oey02@sneakemail.com>
2021-12-23 11:43:41 -05:00
Trevor Brown
52cbf1165c Add .bash file extensions to files containing code executed by Bash 2020-03-02 12:48:05 -05:00