Update shell code

Now it (mostly) passes shellcheck and is formatted with shfmt.
This commit is contained in:
Michael Wolf
2025-11-17 11:38:04 -06:00
parent 1a13fd0909
commit 2641a8d29d
11 changed files with 39 additions and 36 deletions

View File

@@ -2,11 +2,15 @@
set -eu
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
pnpm_shim_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
export pnpm_shim_DIR
source "$DIR"/node.common
source "$DIR"/common
# shellcheck source=./node.common
source "$pnpm_shim_DIR"/node.common
cd $ROOT/framework/node
# shellcheck source=./common
source "$pnpm_shim_DIR"/common
exec "$DIR"/../binaries/pnpm "$@"
# cd $ROOT/framework/node
exec "$pnpm_shim_DIR"/../binaries/pnpm "$@"