diff --git a/lib/nconf/provider.js b/lib/nconf/provider.js index 5bb9823..536781f 100644 --- a/lib/nconf/provider.js +++ b/lib/nconf/provider.js @@ -491,7 +491,7 @@ Provider.prototype.save = function (value, callback) { Provider.prototype._execute = function (action, syncLength /* [arguments] */) { var args = Array.prototype.slice.call(arguments, 2), callback = typeof args[args.length - 1] === 'function' && args.pop(), - destructive = ['set', 'clear', 'merge'].indexOf(action) !== -1, + destructive = ['set', 'clear', 'merge', 'reset'].indexOf(action) !== -1, self = this, response, mergeObjs = [];