aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/formatters/apheleia-npx4
-rwxr-xr-xscripts/formatters/pnp-bin.js (renamed from scripts/pnp-bin.js)0
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/formatters/apheleia-npx b/scripts/formatters/apheleia-npx
index ab2ca5c..8f6a366 100755
--- a/scripts/formatters/apheleia-npx
+++ b/scripts/formatters/apheleia-npx
@@ -15,8 +15,8 @@ if (( "$#" == 0 )); then
fi
# location of this script
-apheleia_dir="$(cd $(dirname ${BASH_SOURCE[0]})/../.. &>/dev/null && pwd)"
-pnp_bin="${apheleia_dir}/scripts/pnp-bin.js"
+scripts_dir="$(cd $(dirname ${BASH_SOURCE[0]}) &>/dev/null && pwd)"
+pnp_bin="${scripts_dir}/pnp-bin.js"
# This function prints the name of the current directory if it
# contains a file or directory named after the first argument, or the
diff --git a/scripts/pnp-bin.js b/scripts/formatters/pnp-bin.js
index b58c165..b58c165 100755
--- a/scripts/pnp-bin.js
+++ b/scripts/formatters/pnp-bin.js