aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortilpner2018-09-05 11:21:03 +0200
committertilpner2018-09-05 11:21:03 +0200
commit4708069115962e6d151c4a7c48588f8601f0b238 (patch)
treef1066588eb54c93b2ab20b2ba01ca0cf4943642e
parent3e4f7d874d091e6315ede07a006d7bb108a8c516 (diff)
downloadqeval-4708069115962e6d151c4a7c48588f8601f0b238.tar.gz
qeval-4708069115962e6d151c4a7c48588f8601f0b238.tar.xz
qeval-4708069115962e6d151c4a7c48588f8601f0b238.zip
Don't pass node code as argument, doesn't work for '-1'
-rw-r--r--evaluators.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/evaluators.nix b/evaluators.nix
index 249c035..e520ff6 100644
--- a/evaluators.nix
+++ b/evaluators.nix
@@ -273,7 +273,7 @@ let
'';
command = ''
- node -p "$(cat "$1")" | tr -s '\n ' ' '
+ <"$1" node -p | tr -s '\n ' ' '
'';
/*
mv "$1" /input.raw