Comparing version 0.3.1 to 0.3.2
0.3.2 / 2015-10-27 | ||
================== | ||
* only create new file objects if needed | ||
0.3.1 / 2015-10-26 | ||
@@ -3,0 +8,0 @@ ================== |
@@ -22,4 +22,6 @@ | ||
debug('adding node: %s', location); | ||
let file = new File(location, this); | ||
this.graph.ensureVertex(location, file); | ||
if (!this.hasFile(location)) { | ||
let file = new File(location, this); | ||
this.graph.addNewVertex(location, file); | ||
} | ||
return this.getFile(location); | ||
@@ -26,0 +28,0 @@ } |
{ | ||
"name": "mako-tree", | ||
"version": "0.3.1", | ||
"version": "0.3.2", | ||
"description": "The build tree structure used internally by mako", | ||
@@ -5,0 +5,0 @@ "repository": "makojs/tree", |
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
26981
510