Skip to content
This repository has been archived by the owner on Dec 18, 2024. It is now read-only.

Commit

Permalink
fix: update elvish to 0.18.0
Browse files Browse the repository at this point in the history
* replace deprecated 'except' with 'catch'
  • Loading branch information
skwerlman authored and Stratus3D committed Apr 22, 2022
1 parent 6fc4bb8 commit 5a89563
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ jobs:
sudo apt-get -y install fish curl
# Download elvish binary and add to path
curl https://dl.elv.sh/linux-amd64/elvish-v0.17.0.tar.gz -o elvish-v0.17.0.tar.gz
tar xzf elvish-v0.17.0.tar.gz
rm elvish-v0.17.0.tar.gz
curl https://dl.elv.sh/linux-amd64/elvish-v0.18.0.tar.gz -o elvish-v0.18.0.tar.gz
tar xzf elvish-v0.18.0.tar.gz
rm elvish-v0.18.0.tar.gz
mkdir -p "$HOME/bin"
mv elvish-v0.17.0 "$HOME/bin/elvish"
mv elvish-v0.18.0 "$HOME/bin/elvish"
echo "$HOME/bin" >>"$GITHUB_PATH"
- name: Install bats
Expand Down
4 changes: 2 additions & 2 deletions asdf.elv
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,11 @@ fn ls-executables {
if (test -x $p) {
path:base $p
}
} except {
} catch {
# don't fail if permission denied
}
}
} except {
} catch {
# silence default non-zero exit status
}
}
Expand Down

0 comments on commit 5a89563

Please sign in to comment.