ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akuznet...@apache.org
Subject ignite git commit: IGNITE-6920 Fixed missed require.
Date Thu, 01 Mar 2018 09:18:28 GMT
Repository: ignite
Updated Branches:
  refs/heads/master e24c1c081 -> fe89fc413


IGNITE-6920 Fixed missed require.


Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/fe89fc41
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/fe89fc41
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/fe89fc41

Branch: refs/heads/master
Commit: fe89fc4139d210a594c8363c48237dbfd8085d60
Parents: e24c1c0
Author: Alexey Kuznetsov <akuznetsov@apache.org>
Authored: Thu Mar 1 16:18:17 2018 +0700
Committer: Alexey Kuznetsov <akuznetsov@apache.org>
Committed: Thu Mar 1 16:18:17 2018 +0700

----------------------------------------------------------------------
 modules/web-console/backend/index.js | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/fe89fc41/modules/web-console/backend/index.js
----------------------------------------------------------------------
diff --git a/modules/web-console/backend/index.js b/modules/web-console/backend/index.js
index 013de47..ad334bc 100644
--- a/modules/web-console/backend/index.js
+++ b/modules/web-console/backend/index.js
@@ -20,7 +20,9 @@
 const fs = require('fs');
 const path = require('path');
 
-require('app-module-path').addPath(path.join(__dirname, 'node_modules'));
+const appPath = require('app-module-path');
+appPath.addPath(__dirname);
+appPath.addPath(path.join(__dirname, 'node_modules'));
 
 const _ = require('lodash');
 const getos = require('getos');


Mime
View raw message