Comparing version 0.14.1 to 0.14.2
0.14.2 / 2016-06-18 | ||
=================== | ||
* file: reset changes contents to null (fixes #16) | ||
0.14.1 / 2016-06-16 | ||
@@ -3,0 +8,0 @@ =================== |
@@ -150,2 +150,3 @@ | ||
this.history.splice(1); // remove all but original path | ||
this.contents = null; | ||
} | ||
@@ -152,0 +153,0 @@ |
{ | ||
"name": "mako-tree", | ||
"version": "0.14.1", | ||
"version": "0.14.2", | ||
"main": "./lib/tree", | ||
@@ -5,0 +5,0 @@ "description": "The build tree structure used internally by mako", |
@@ -201,2 +201,9 @@ | ||
}); | ||
it('should set the contents to null', function () { | ||
let file = new File('index.jade'); | ||
file.contents = new Buffer('hello world'); | ||
file.reset(); | ||
assert.isNull(file.contents); | ||
}); | ||
}); | ||
@@ -203,0 +210,0 @@ |
62771
1448