Skip to content

Commit

Permalink
redefine fileinfo.type
Browse files Browse the repository at this point in the history
  • Loading branch information
mapsam committed Mar 13, 2017
1 parent dadb45f commit 7cf3c91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ module.exports.digest = function(file, callback) {
if (err && err.code === 'EINVALID') {
try {
new Csv(file);
filetype = 'csv';
fileinfo.type = 'csv';
}
catch (error) { return callback(err); }
} else if (err) return callback(err);
Expand Down

0 comments on commit 7cf3c91

Please sign in to comment.