diff --git a/node_modules/frontdoor/lib/section.js b/node_modules/frontdoor/lib/section.js index 4162f947..1e027ef0 100644 --- a/node_modules/frontdoor/lib/section.js +++ b/node_modules/frontdoor/lib/section.js @@ -87,7 +87,6 @@ module.exports = function Section(name, description, types) { if (!sections[name]) sections[name] = []; - section.parent = this; sections[name].push(section); }; diff --git a/plugins/c9.static/cdn.cli.js b/plugins/c9.static/cdn.cli.js index 359d8cee..f9ea95b6 100644 --- a/plugins/c9.static/cdn.cli.js +++ b/plugins/c9.static/cdn.cli.js @@ -147,7 +147,7 @@ define(function(require, exports, module) { function done(err) { if (err) { - console.error(err, err.stack); + console.error(err); process.exit(1); } pending--; @@ -242,10 +242,6 @@ define(function(require, exports, module) { return false; } } - if (name == "node_modules" && /plugins\/[^\/\\]+/.test(dir)) - return true; - if (/^(LICENSE|README.md)$/.test(name)) - return true; return /\.(jsx?|css|less|xml|ejs|prv|pub|sh)$|(^|[/])^(mock|example|\.[^/]*|package.json)[/]?$/.test(name); }, onDir: function(e) { console.log("\x1b [1A\x1b[0K" + e) }