on master help sign in
Also look for nodejs in addition to node in the testsuite
commit052f563b56ff8ba7b6f783608bca37903b526238 authorRyan Scott <ryan.gl.scott@gmail.com> dateTue 14 Mar 2017, 13:41 (10 years ago) parenteed3117
1 file changed+3−1
test/TestRun.hs+3−1
test/TestRun.hs+3−1
@@ -108,7 +108,9 @@ runTest path flags = do
108108
109109main :: IO ()
110110main = do
111− node <- findExecutable "node"
111+ nodePath <- findExecutable "node"
112+ nodejsPath <- findExecutable "nodejs"
113+ let node = nodePath <|> nodejsPath
112114 case node of
113115 Nothing -> do
114116 putStrLn "For running the test suite against Node, node must be installed."