mirror of https://gitee.com/bigwinds/arangodb
Fix linter errors
This commit is contained in:
parent
c2cf4be4e0
commit
3bdbded541
|
@ -33,6 +33,7 @@ var arangodb = require("@arangodb");
|
|||
var db = arangodb.db;
|
||||
var graph = require("@arangodb/general-graph");
|
||||
var cluster;
|
||||
var isOnServer = (typeof ArangoClusterComm === "object");
|
||||
if (isOnServer) {
|
||||
cluster = require("@arangodb/cluster");
|
||||
} else {
|
||||
|
|
|
@ -43,7 +43,7 @@ var endpointToURL = function (endpoint) {
|
|||
return "http://" + endpoint;
|
||||
}
|
||||
return "http" + endpoint.substr(pos);
|
||||
}
|
||||
};
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
/// @brief create a unique identifier
|
||||
|
|
Loading…
Reference in New Issue