Skip to content

Commit 3516c08

Browse files
committed
Fix failing test
1 parent d506aa1 commit 3516c08

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

‎lib/commands/install.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@ install_local_tool_versions() {
5555

5656
if [ -n "$plugin_version_and_path" ]; then
5757
local plugin_version
58+
some_tools_installed='yes'
5859
plugin_version=$(cut -d '|' -f 1 <<< "$plugin_version_and_path")
5960
install_tool_version "$plugin_name" "$plugin_version"
60-
some_tools_installed='yes'
6161
fi
6262
done
6363
else

‎test/install_command.bats‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ EOM
157157
@test "install command without arguments installs versions from legacy files" {
158158
echo 'legacy_version_file = yes' > $HOME/.asdfrc
159159
echo '1.2' >> $PROJECT_DIR/.dummy-version
160+
cd $PROJECT_DIR
160161
run asdf install
161162
[ "$status" -eq 0 ]
162163
[ "$output" == "" ]

0 commit comments

Comments
 (0)