Skip to content

Commit

Permalink
fixed bugs in community mode
Browse files Browse the repository at this point in the history
  • Loading branch information
romanatarango committed Jul 1, 2022
1 parent e49fd0d commit e3b1756
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion js/common/modules/@arangodb/graph/pregel-test-helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,11 @@

let db = require("@arangodb").db;
let general_graph_module = require("@arangodb/general-graph");
let smart_graph_module = require("@arangodb/smart-graph");
const isEnterprise = require('internal').isEnterprise();
let smart_graph_module;
if (isEnterprise) {
smart_graph_module = require("@arangodb/smart-graph");
}
let internal = require("internal");
let pregel = require("@arangodb/pregel");
let graphGeneration = require("@arangodb/graph/graphs-generation");
Expand Down

0 comments on commit e3b1756

Please sign in to comment.