Skip to content

Commit

Permalink
Fix path references in up-to-date script
Browse files Browse the repository at this point in the history
  • Loading branch information
textbook committed Sep 15, 2024
1 parent 4796873 commit 44417f9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/up-to-date.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@ if [ $# -gt 0 ]; then
fi

HERE="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
ROOT="$HERE/.."

useNpm() {
npm --prefix="$HERE/.." "$@"
npm --prefix="$ROOT" "$@"
}

if [ -z "$(useNpm outdated)" ]; then
Expand Down

0 comments on commit 44417f9

Please sign in to comment.