From 2f7056a29ef4897c2a966fff50e0caa067f5413a Mon Sep 17 00:00:00 2001 From: NGPixel Date: Wed, 24 Aug 2016 13:57:06 -0400 Subject: [PATCH] Packages fix --- controllers/auth.js | 2 +- gulpfile.js | 2 +- models/git.js | 2 +- package.json | 2 ++ 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/controllers/auth.js b/controllers/auth.js index 97aa6ff3..485cd454 100644 --- a/controllers/auth.js +++ b/controllers/auth.js @@ -2,7 +2,7 @@ var express = require('express'); var router = express.Router(); var passport = require('passport'); var ExpressBrute = require('express-brute'); -var ExpressBruteLokiStore = require('D:\\git\\express-brute-loki'); +var ExpressBruteLokiStore = require('express-brute-loki'); var moment = require('moment'); /** diff --git a/gulpfile.js b/gulpfile.js index 030e2d38..c69dc16b 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -19,7 +19,7 @@ var include = require("gulp-include"); */ var paths = { scriptlibs: [ - './node_modules/lodash/lodash.min.js', + './node_modules/lodash/lodash.min.js', './node_modules/jquery/dist/jquery.min.js', './node_modules/vue/dist/vue.min.js', './node_modules/jquery-smooth-scroll/jquery.smooth-scroll.min.js', diff --git a/models/git.js b/models/git.js index ba8b4f00..343259f9 100644 --- a/models/git.js +++ b/models/git.js @@ -86,7 +86,7 @@ module.exports = { winston.info('[GIT] Using existing repository...'); repoInitOperation = NodeGit.Repository.open(self._repo.path); - } else if(appconfig.git.remote) { + } else if(appconfig.git.mode === 'remote') { winston.info('[GIT] Cloning remote repository for first time...'); let cloneOptions = self._generateCloneOptions(appconfig); diff --git a/package.json b/package.json index 97feb6dc..cd4734d2 100644 --- a/package.json +++ b/package.json @@ -43,12 +43,14 @@ "cookie-parser": "^1.4.3", "express": "^4.14.0", "express-brute": "^1.0.0", + "express-brute-loki": "^1.0.0", "express-session": "^1.14.0", "express-validator": "^2.20.8", "highlight.js": "^9.6.0", "i18next": "^3.4.1", "i18next-express-middleware": "^1.0.1", "i18next-node-fs-backend": "^0.1.2", + "jquery-smooth-scroll": "^2.0.0", "js-yaml": "^3.6.1", "lodash": "^4.15.0", "lokijs": "^1.4.1",