Skip to content

Commit

Permalink
use existential-default instead of assign
Browse files Browse the repository at this point in the history
  • Loading branch information
Kikobeats committed Feb 2, 2016
1 parent c9315ab commit 78697cd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions lib/Acho.coffee
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
'use strict'

DEFAULT = require './Default'
CONST = require './Constants'
existsAssign = require 'existential-assign'
DEFAULT = require './Default'
CONST = require './Constants'
existsDefault = require 'existential-default'

module.exports = (options = {}) ->
acho = existsAssign(DEFAULT, options)
acho = existsDefault(options, DEFAULT)
acho.diff = [] if acho.diff
acho[key] = value for key, value of acho

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"dependencies": {
"chalk": "~1.1.1",
"coffee-script": "~1.10.0",
"existential-assign": "~1.2.4",
"existential-default": "~1.1.1",
"format-util": "1.0.3",
"ms": "~0.7.1"
},
Expand Down

0 comments on commit 78697cd

Please sign in to comment.