Skip to content

Commit

Permalink
Merge pull request #259 from amragaey/patch-1
Browse files Browse the repository at this point in the history
replace util._extend with Object.assign()
  • Loading branch information
madhums committed Mar 20, 2017
2 parents dd277d5 + 56269de commit 35170f4
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions config/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
*/

const path = require('path');
const extend = require('util')._extend;

const development = require('./env/development');
const test = require('./env/test');
Expand All @@ -30,7 +29,7 @@ const defaults = {
*/

module.exports = {
development: extend(development, defaults),
test: extend(test, defaults),
production: extend(production, defaults)
development: Object.assign(development, defaults),
test: Object.assign(test, defaults),
production: Object.assign(production, defaults)
}[process.env.NODE_ENV || 'development'];

0 comments on commit 35170f4

Please sign in to comment.