Skip to content
This repository has been archived by the owner on Mar 8, 2019. It is now read-only.

Commit

Permalink
fixed message
Browse files Browse the repository at this point in the history
  • Loading branch information
Kikobeats committed Aug 3, 2015
1 parent 2e22430 commit 841bcad
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
'use strict';

var promise = require('cb2promise');
var Errorifier = require('errorifier');
var ensureAsync = require('ensure-async');
var promise = require('cb2promise');
var Errorifier = require('errorifier');
var ensureAsync = require('ensure-async');

var parseAsync = ensureAsync(function(data, cb) {
var content;
Expand All @@ -14,7 +14,7 @@ var parseAsync = ensureAsync(function(data, cb) {
content = {};
error = new Errorifier({
code: 'ENOVALIDJSON',
message: err.messsage
message: err.message
});
} finally {
return cb(error, content);
Expand Down

0 comments on commit 841bcad

Please sign in to comment.