Skip to content

Commit

Permalink
Update lib/mime-magic.js
Browse files Browse the repository at this point in the history
  • Loading branch information
felixchan committed Dec 13, 2011
1 parent e7ec9bf commit 82f137a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mime-magic.js
Expand Up @@ -10,7 +10,7 @@ var trim = function (string) {
};

var fileWrapper = function (path, cb) {
var flags = fileFlags;
var flags = JSON.parse(JSON.stringify(fileFlags));
flags.push(path);
cp.execFile(fileExec, flags, function (err, stdout) {
stdout = stdout.trim();
Expand Down

0 comments on commit 82f137a

Please sign in to comment.