consistent indentation

This commit is contained in:
Michael Bradley, Jr 2018-08-20 10:28:43 -05:00
parent 46c4aea520
commit c8cd5f4229
1 changed files with 12 additions and 12 deletions

View File

@ -50,18 +50,18 @@ try {
} }
const entry = Object.keys(embarkAssets) const entry = Object.keys(embarkAssets)
.filter(key => key.match(/\.js?$/)) .filter(key => key.match(/\.js?$/))
.reduce((obj, key) => { .reduce((obj, key) => {
obj[key] = embarkAssets[key] obj[key] = embarkAssets[key]
.map(file => { .map(file => {
let file_path = file.path; let file_path = file.path;
if (!file.path.match(/^\.\//)) { if (!file.path.match(/^\.\//)) {
file_path = './' + file_path; file_path = './' + file_path;
} }
return file_path; return file_path;
}); });
return obj; return obj;
}, {}); }, {});
function resolve(pkgName) { function resolve(pkgName) {
if (Array.isArray(pkgName)) { if (Array.isArray(pkgName)) {