Commit Graph

10 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
James Hegedus
ea18e96bc0
ci: explicitly set shell in lint & format scripts (#1391) 2022-12-23 20:40:11 +11:00
James Hegedus
ab9d4b126a
chore: remove unused var in lib/functions/installs.bash (#1389) 2022-12-22 08:54:05 +11:00
Lorenzo Gallucci
5334d1db3d
fix: excludes "milestone" releases in "latest" command (#1307)
Fixes #1306
2022-07-25 16:05:09 -04:00
Trevor Brown
eb7dac3a2b
fix: append trailing newline to .tool-versions files when missing (#1310)
If a .tool-versions file did not end with a newline new tools and
versions would get appended to the same line rather than properly
added on a new line in the file

Fixes #1299
2022-07-25 09:23:43 -04:00
Trevor Brown
92d005dacd
fix: update plugin-add regex to support other languages (#1241)
[:alpha:] and [:digit:] character classes support characters from other
languages whereas ranges like a-z and 0-9 may not.

Fixes #1237
2022-06-07 08:43:02 -04:00
Trevor Brown
711ad99104
fix: always use ASDF_DEFAULT_TOOL_VERSIONS_FILENAME for filename when present (#1238)
* fix: always use ASDF_DEFAULT_TOOL_VERSIONS_FILENAME for filename when present
* fix: correct version command unit tests for ASDF_DEFAULT_TOOL_VERSIONS_FILENAME

Fixes #1082
2022-05-27 07:50:04 -04: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
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