diff options
-rw-r--r-- | kitchen-tests/cookbooks/end_to_end/recipes/macos.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kitchen-tests/cookbooks/end_to_end/recipes/macos.rb b/kitchen-tests/cookbooks/end_to_end/recipes/macos.rb index c1d715549a..d22d8c230c 100644 --- a/kitchen-tests/cookbooks/end_to_end/recipes/macos.rb +++ b/kitchen-tests/cookbooks/end_to_end/recipes/macos.rb @@ -83,7 +83,7 @@ end bash "remove git" do code <<~EOH # echo "password" | sudo chown -R $(whoami) $(brew --prefix)/* - brew unlink git@2.35.1 + brew list --full-name | grep '^git@' | brew uninstall --ignore-dependencies EOH user "tempadmin" end |