kopia lustrzana https://github.com/c9/core
remove unused account config from makestatic
rodzic
281925be9e
commit
32facc0a40
|
@ -233,6 +233,10 @@ define(function(require, exports, module) {
|
||||||
var absPath = moduleDeps.resolveModulePath(p, pathConfig.pathMap);
|
var absPath = moduleDeps.resolveModulePath(p, pathConfig.pathMap);
|
||||||
if (/^\/lib\/ace/.test(p))
|
if (/^\/lib\/ace/.test(p))
|
||||||
return;
|
return;
|
||||||
|
if (!cache.files) {
|
||||||
|
console.error("Config is empty");
|
||||||
|
process.exit(1);
|
||||||
|
}
|
||||||
copy(absPath, root + "/static/" + p, {
|
copy(absPath, root + "/static/" + p, {
|
||||||
include: /^(libmarkdown.js|runners_list.js|builders_list.js|bootstrap.js)$/,
|
include: /^(libmarkdown.js|runners_list.js|builders_list.js|bootstrap.js)$/,
|
||||||
exclude: function(name, dir) {
|
exclude: function(name, dir) {
|
||||||
|
|
Ładowanie…
Reference in New Issue