mirror of https://gitee.com/bigwinds/arangodb
More linting.
This commit is contained in:
parent
c9d7f113a6
commit
ba61e07e02
|
@ -589,12 +589,11 @@ function post_api_traversal(req, res) {
|
|||
|
||||
} else if (typeof json.graphName !== "string") {
|
||||
return badParam(req, res, "invalid graphname");
|
||||
} else {
|
||||
}
|
||||
if (!graph._exists(json.graphName)) {
|
||||
return badParam(req, res, "invalid graphname");
|
||||
}
|
||||
datasource = traversal.generalGraphDatasourceFactory(json.graphName);
|
||||
}
|
||||
|
||||
|
||||
// set up filters
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/*jslint indent: 2, nomen: true, maxlen: 120, todo: true, white: false, sloppy: false */
|
||||
/*jslint indent: 2, nomen: true, maxlen: 120, white: false, sloppy: false */
|
||||
/*global module, require, exports */
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
|
Loading…
Reference in New Issue