Skip to content

Commit 0864eaf

Browse files
committed
fix global variable leak
1 parent 35166ed commit 0864eaf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/file.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ File.prototype.open = function() {
3535
};
3636

3737
File.prototype.toJSON = function() {
38-
json = {
38+
var json = {
3939
size: this.size,
4040
path: this.path,
4141
name: this.name,

0 commit comments

Comments
 (0)