mcfly-io / generator-sublime

Yeoman generator for scaffolfding the standard configuration root files like .gitignore, .jshintrc, .jscsrc etc...
8 stars 10 forks source link

Add try catch to gulp graph #295

Closed thaiat closed 8 years ago

thaiat commented 8 years ago
       try {
                var content = fs.readFileSync(filename);
                var JsonTree = esprima.parse(content.toString());
                //var myTree = JSON.parse(JSON.stringify(JsonTree, null, 2));
                createTreeModule(JsonTree, null, null, 0, module);
            } catch (err) {}