From commits-return-117118-archive-asf-public=cust-asf.ponee.io@ignite.apache.org Thu Mar 1 10:18:29 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 41FD618064D for ; Thu, 1 Mar 2018 10:18:29 +0100 (CET) Received: (qmail 9982 invoked by uid 500); 1 Mar 2018 09:18:28 -0000 Mailing-List: contact commits-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.apache.org Delivered-To: mailing list commits@ignite.apache.org Received: (qmail 9969 invoked by uid 99); 1 Mar 2018 09:18:28 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Mar 2018 09:18:28 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 32FFCE944C; Thu, 1 Mar 2018 09:18:28 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: akuznetsov@apache.org To: commits@ignite.apache.org Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: ignite git commit: IGNITE-6920 Fixed missed require. Date: Thu, 1 Mar 2018 09:18:28 +0000 (UTC) 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 Authored: Thu Mar 1 16:18:17 2018 +0700 Committer: Alexey Kuznetsov 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');