Skip to content

Commit

Permalink
Fix Hound CI issues
Browse files Browse the repository at this point in the history
Refers to [#114228015]
- Remove Sequelize from predef
- Rename variable
  • Loading branch information
andela-rekemezie committed Mar 16, 2016
1 parent 5bf9478 commit 1b845dd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions .jshintrc
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@
"by",
"exports",
"sinon",
"spyOn",
"Sequelize"
"spyOn"
],
"quotmark": true,
"trailing": true,
Expand Down
4 changes: 2 additions & 2 deletions server/config/db-connect.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
(function() {
'use strict';

var _Sequelize = require('sequelize'),
var Sequelize = require('sequelize'),
env = process.env.NODE_ENV || 'development',
config = require('./index'),
sequelize = new _Sequelize(config.db.url, {
sequelize = new Sequelize(config.db.url, {
protocol: 'postgres',
dialect: config.db.dialect,
port: config.db.port,
Expand Down

0 comments on commit 1b845dd

Please sign in to comment.