1
0
Fork 0

not not not.

This commit is contained in:
Wilfried Goesgens 2016-06-01 15:06:28 +02:00
parent 21d0be76e6
commit b6a1837fd5
1 changed files with 4 additions and 4 deletions

View File

@ -36,20 +36,20 @@ let ARANGOSH;
function locateArangod() { function locateArangod() {
ARANGOD = fs.join(fs.join(fs.makeAbsolute('')), "build/bin/arangod"); ARANGOD = fs.join(fs.join(fs.makeAbsolute('')), "build/bin/arangod");
if(!fs.isFile(ARANGOD) && !!fs.isFile(ARANGOD + ".exe")) { if(!fs.isFile(ARANGOD) && !fs.isFile(ARANGOD + ".exe")) {
ARANGOD = fs.join(fs.join(fs.makeAbsolute('')), "bin/arangod"); ARANGOD = fs.join(fs.join(fs.makeAbsolute('')), "bin/arangod");
} }
if(!fs.isFile(ARANGOD) && !!fs.isFile(ARANGOD + ".exe")) { if(!fs.isFile(ARANGOD) && !fs.isFile(ARANGOD + ".exe")) {
throw "Cannot find Aarangod to execute tests against"; throw "Cannot find Aarangod to execute tests against";
} }
} }
function locateArangosh() { function locateArangosh() {
ARANGOSH = fs.join(fs.join(fs.makeAbsolute('')), "build/bin/arangosh"); ARANGOSH = fs.join(fs.join(fs.makeAbsolute('')), "build/bin/arangosh");
if(!fs.isFile(ARANGOSH) && !!fs.isFile(ARANGOSH + ".exe")) { if(!fs.isFile(ARANGOSH) && !fs.isFile(ARANGOSH + ".exe")) {
ARANGOSH = fs.join(fs.join(fs.makeAbsolute('')), "bin/arangosh"); ARANGOSH = fs.join(fs.join(fs.makeAbsolute('')), "bin/arangosh");
} }
if(!fs.isFile(ARANGOSH) && !!fs.isFile(ARANGOSH + ".exe")) { if(!fs.isFile(ARANGOSH) && !fs.isFile(ARANGOSH + ".exe")) {
throw "Cannot find arangosh to run tests with"; throw "Cannot find arangosh to run tests with";
} }
} }