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)
.filter(key => key.match(/\.js?$/))
.reduce((obj, key) => {
obj[key] = embarkAssets[key]
.map(file => {
let file_path = file.path;
if (!file.path.match(/^\.\//)) {
file_path = './' + file_path;
}
return file_path;
});
return obj;
}, {});
.filter(key => key.match(/\.js?$/))
.reduce((obj, key) => {
obj[key] = embarkAssets[key]
.map(file => {
let file_path = file.path;
if (!file.path.match(/^\.\//)) {
file_path = './' + file_path;
}
return file_path;
});
return obj;
}, {});
function resolve(pkgName) {
if (Array.isArray(pkgName)) {