-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove and recreate shims in asdf install step (#83)
@hochdave recently ran into an issue where his pre-commit shim was still pointing to his old non-existant brew-installed version of asdf: ``` dave:wordsmith-proxy dave.hoch$ git commit -m 'add token usage' /Users/dave.hoch/.asdf/shims/pre-commit: line 4: /opt/homebrew/Cellar/asdf/0.13.1/libexec/bin/asdf: No such file or directory /Users/dave.hoch/.asdf/shims/pre-commit: line 4: exec: /opt/homebrew/Cellar/asdf/0.13.1/libexec/bin/asdf: cannot execute: No such file or directory One or more pre-commit hooks failed. ``` `asdf reshim` didn't fix the issue, because it doesn't recreate existing shims. This PR removes the whole existing shim directory and recreates it with `asdf reshim`.
- Loading branch information
Showing
3 changed files
with
25 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
0.1.44 | ||
0.1.45 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters