From b9f8bb6aeba9537b7bfcdf6bf2ed4f0ab53eba43 Mon Sep 17 00:00:00 2001 From: Nikolai Onken Date: Wed, 27 May 2015 13:10:23 +0200 Subject: [PATCH] Revert "Merge account" --- node_modules/frontdoor/lib/section.js | 1 - plugins/c9.static/cdn.cli.js | 6 +----- 2 files changed, 1 insertion(+), 6 deletions(-) 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) }