Simplify base node runner

This commit is contained in:
2026-04-03 15:46:37 +02:00
parent 8e974e3540
commit b3a7877189
+2 -12
View File
@@ -2,18 +2,8 @@
set -e set -e
SCRIPT="$1"
WORKDIR="$2"
echo " echo "
Setting workdir from current dir, which is $(pwd) Running node script $1
"
if [ -n "$WORKDIR" ]; then
cd "$WORKDIR"
fi
echo "
Running node script
" "
node $SCRIPT >/tmp/log.txt node $1 >/tmp/log.txt