on master help sign in
Merge pull request #3696 from RyanGlScott/master

Also look for nodejs in addition to node in the testsuite

commitc37ab2589ed0f95eabcf75b68ae69da33de2dfd0 authorAhmad Salim Al-Sibahi <asal@itu.dk> dateThu 16 Mar 2017, 11:58 (10 years ago) parent4ade674052f563
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."