From 44417f914559093efb60e1fc2920da3c8cfaf569 Mon Sep 17 00:00:00 2001 From: Jonathan Sharpe Date: Sun, 15 Sep 2024 10:09:29 +0100 Subject: [PATCH] Fix path references in up-to-date script --- bin/up-to-date.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/up-to-date.sh b/bin/up-to-date.sh index 122dc0e7..786c54cf 100755 --- a/bin/up-to-date.sh +++ b/bin/up-to-date.sh @@ -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