Permalink
Browse files

Update lib/mime-magic.js

  • Loading branch information...
1 parent e7ec9bf commit 82f137a5783b3aa66b8d21c5ef1f2a76c2264301 @felixchan committed Dec 13, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/mime-magic.js
View
@@ -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();

0 comments on commit 82f137a

Please sign in to comment.