style(nodeTree): fix formatting

the formatting was messed up due to https://github.com/angular/clang-format/issues/7.

I replaced the fat arrow function with regular function expression to resolve the formatting issue
This commit is contained in:
Igor Minar 2015-05-19 17:39:57 -07:00
parent ac28ac324d
commit c204835969

View File

@ -106,7 +106,7 @@ module.exports = function makeNodeTree(destinationPath) {
match: /$/g,
replacement: ""
}],
replaceWithPath: (path, content) => {
replaceWithPath: function(path, content) {
if (!path.endsWith('.d.ts')) {
content += '\r\nexport var __esModule = true;\n';
}
@ -137,5 +137,4 @@ nodeTree = mergeTrees([nodeTree, typescriptTree, docs, packageJsons]);
nodeTree = stew.mv(nodeTree, '');
return destCopy(nodeTree, destinationPath);
}
;
};