Fix worthless indentation.
parent
70fe1a7451
commit
b0d71df604
|
@ -165,10 +165,10 @@ exports.update = function (cb) {
|
||||||
},
|
},
|
||||||
function (err) {
|
function (err) {
|
||||||
if (err) cb(err);
|
if (err) cb(err);
|
||||||
exports.plugins = plugins;
|
exports.plugins = plugins;
|
||||||
exports.parts = exports.sortParts(parts);
|
exports.parts = exports.sortParts(parts);
|
||||||
exports.hooks = exports.extractHooks(exports.parts, "hooks");
|
exports.hooks = exports.extractHooks(exports.parts, "hooks");
|
||||||
exports.loaded = true;
|
exports.loaded = true;
|
||||||
exports.callInit(cb);
|
exports.callInit(cb);
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
@ -200,9 +200,9 @@ exports.getPackages = function (cb) {
|
||||||
flatten(tmp);
|
flatten(tmp);
|
||||||
cb(null, packages);
|
cb(null, packages);
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
exports.loadPlugin = function (packages, plugin_name, plugins, parts, cb) {
|
exports.loadPlugin = function (packages, plugin_name, plugins, parts, cb) {
|
||||||
var plugin_path = path.resolve(packages[plugin_name].path, "ep.json");
|
var plugin_path = path.resolve(packages[plugin_name].path, "ep.json");
|
||||||
fs.readFile(
|
fs.readFile(
|
||||||
plugin_path,
|
plugin_path,
|
||||||
|
@ -226,7 +226,7 @@ exports.getPackages = function (cb) {
|
||||||
cb();
|
cb();
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
exports.partsToParentChildList = function (parts) {
|
exports.partsToParentChildList = function (parts) {
|
||||||
var res = [];
|
var res = [];
|
||||||
|
|
Loading…
Reference in New Issue