compiler-discord/docker/javascript/run.sh
2019-06-01 01:21:22 -04:00

5 lines
130 B
Bash

if [ "$EVAL_HARMONY" = "true" ]; then
printf %s "$1" | node --harmony -p || true
else
printf %s "$1" | node -p || true
fi