Release 0.2.4 is broken
g1ps opened this issue · 0 comments
g1ps commented
The process is broken in release 0.2.4:
Loading "angular_architecture_graph.js" tasks...ERROR
>> Error: Unable to read "templates/legend.def" file (Error code: ENOENT).
Loading "helpers.js" tasks...ERROR
>> Error: Unable to read "templates/legend.def" file (Error code: ENOENT).
In helper.js this:
var basePath = "node_modules/grunt-angular-architecture-graph/";
var files = {
legend: grunt.file.read(basePath + "templates/legend.def"),
all: grunt.file.read(basePath + "templates/all.def"),
modules: grunt.file.read(basePath + "templates/modules.def"),
module: grunt.file.read(basePath + "templates/module.def")
};
was changed to this:
var files = {
legend: grunt.file.read("templates/legend.def"),
all: grunt.file.read("templates/all.def"),
modules: grunt.file.read("templates/modules.def"),
module: grunt.file.read("templates/module.def")
};
Restoring the original code restores functionality. Not sure what went on there.
Cheers.