test: should update json file

This commit is contained in:
Typicode
2016-05-15 16:31:48 +02:00
parent 2ce4590e93
commit 71b6c95b4a
5 changed files with 28 additions and 10 deletions

View File

@ -28,7 +28,7 @@ module.exports = function (source, cb) {
} else if (is.JSON(source)) {
data = low(source, { storage: fileAsync }).state()
data = low(source, { storage: fileAsync }).getState()
cb(null, data)
} else {