Comparing version 0.5.0 to 0.5.1
0.5.1 / 2015-12-01 | ||
================== | ||
* do not throw if analyzing is true, it always will be during the preread phase | ||
0.5.0 / 2015-12-01 | ||
@@ -3,0 +8,0 @@ ================== |
@@ -43,6 +43,2 @@ | ||
dirty() { | ||
if (this.analyzing) { | ||
throw new Error('this file is currently being analyzed'); | ||
} | ||
this.type = extension(this.path); | ||
@@ -49,0 +45,0 @@ this.analyzed = false; |
{ | ||
"name": "mako-tree", | ||
"version": "0.5.0", | ||
"version": "0.5.1", | ||
"description": "The build tree structure used internally by mako", | ||
@@ -5,0 +5,0 @@ "repository": "makojs/tree", |
@@ -134,8 +134,2 @@ | ||
}); | ||
it('should throw when the analyzing flag is turned on', function () { | ||
let file = new File('index.jade'); | ||
file.analyzing = true; | ||
assert.throws(() => file.dirty()); | ||
}); | ||
}); | ||
@@ -142,0 +136,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
33370
654