Skip to content

Commit

Permalink
update dependencies + use dotenv silent mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Ahmad Nassri committed Apr 8, 2015
1 parent 865ff65 commit b4b34cb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@
"devDependencies": {
"codeclimate-test-reporter": "0.0.4",
"istanbul": "^0.3.13",
"mocha": "^2.2.1",
"mocha": "^2.2.3",
"should": "^5.2.0",
"standard": "^3.3.0",
"standard": "^3.3.2",
"unirest": "^0.4.0"
},
"dependencies": {
Expand All @@ -61,14 +61,14 @@
"cookie-parser": "^1.3.4",
"debug": "^2.1.3",
"dicer": "^0.2.4",
"dotenv": "^1.0.0",
"dotenv": "^1.1.0",
"express": "^4.12.3",
"har-validator": "^1.5.1",
"har-validator": "^1.6.1",
"jade": "^1.9.2",
"marked": "^0.3.3",
"media-typer": "^0.3.0",
"method-override": "^2.3.2",
"moment": "^2.9.0",
"moment": "^2.10.0",
"morgan": "^1.5.2",
"node-uuid": "^1.4.3",
"qs": "^2.4.1",
Expand Down
3 changes: 2 additions & 1 deletion server.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@

var app = require('./app')
var cluster = require('cluster')
var dotenv = require('dotenv')
var os = require('os')
var pkg = require('./package.json')

require('dotenv').load()
dotenv.config({silent: true})

// WEB_CONCURRENCY set by Heroku config
var WORKERS = process.env.WEB_CONCURRENCY || os.cpus().length
Expand Down

0 comments on commit b4b34cb

Please sign in to comment.