compiler-discord/docker/javascript/run.sh

6 lines
114 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
2019-03-12 10:09:46 +01:00
else
printf %s "$1" | node -p
2019-03-12 10:09:46 +01:00
fi