Skip to content

Commit

Permalink
fix lint errors in utils
Browse files Browse the repository at this point in the history
  • Loading branch information
CanRau committed Jan 25, 2024
1 parent 2f22c2c commit 975770b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/utils.bash
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

set -euo pipefail

GH_REPO="https://github.com/antfu/ni"
# GH_REPO="https://github.com/antfu/ni"
REGISTRY_URL="https://registry.npmjs.org/@antfu/ni"
TOOL_NAME="ni"
TOOL_TEST="ni --help"
Expand Down Expand Up @@ -85,12 +85,12 @@ install_version() {
# printf "\n\nASDF_DOWNLOAD_PATH $ASDF_DOWNLOAD_PATH\n\n"
# echo $(ls -l $install_path)


for f in "$install_path/bin"/*; do
# debug
# echo "File -> $f"
# ln -sf $(echo $f |sed -e 's/.mjs//') $f
mv "$f" $(echo "$f" | sed -e 's/.mjs//')
# mv "$f" "$(echo "$f" | sed -e 's/.mjs//')"
mv "$f" "${f//.mjs/''/}"
done

# debug
Expand Down

0 comments on commit 975770b

Please sign in to comment.