compiler-discord/docker/javascript/run.sh

6 lines
130 B
Bash
Raw Normal View History

2019-03-12 10:09:46 +01:00
if [ "$EVAL_HARMONY" = "true" ]; then
printf %s "$1" | node --harmony -p || true
2019-03-12 10:09:46 +01:00
else
printf %s "$1" | node -p || true
2019-03-12 10:09:46 +01:00
fi