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:
parent
ac28ac324d
commit
c204835969
@ -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);
|
||||
}
|
||||
;
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user