mirror of https://gitee.com/bigwinds/arangodb
added derived file
This commit is contained in:
parent
4001495101
commit
0d4874a2c9
|
@ -191,13 +191,13 @@ if (typeof window === 'undefined') {
|
||||||
initHelp();
|
initHelp();
|
||||||
|
|
||||||
// these variables are not defined in the browser context
|
// these variables are not defined in the browser context
|
||||||
if (
|
if (! (
|
||||||
global.IS_EXECUTE_SCRIPT ||
|
global.IS_EXECUTE_SCRIPT ||
|
||||||
global.IS_EXECUTE_STRING ||
|
global.IS_EXECUTE_STRING ||
|
||||||
global.IS_CHECK_SCRIPT ||
|
global.IS_CHECK_SCRIPT ||
|
||||||
global.IS_UNIT_TESTS ||
|
global.IS_UNIT_TESTS ||
|
||||||
global.IS_JS_LINT
|
global.IS_JS_LINT
|
||||||
) {
|
)) {
|
||||||
try {
|
try {
|
||||||
// this will not work from within a browser
|
// this will not work from within a browser
|
||||||
var __fs__ = require("fs");
|
var __fs__ = require("fs");
|
||||||
|
|
Loading…
Reference in New Issue