build(node_tree): fix broken test.unit.cjs task which breaks on rebuild
This commit is contained in:
parent
c204835969
commit
4ba81bf3eb
|
@ -114,6 +114,11 @@ module.exports = function makeNodeTree(destinationPath) {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// TODO(iminar): tree differ seems to have issues with trees created by mergeTrees, investigate!
|
||||||
|
// ENOENT error is thrown while doing fs.readdirSync on inputRoot
|
||||||
|
// in the meantime, we just do noop mv to create a new tree
|
||||||
|
traceurCompatibleTsModulesTree = stew.mv(traceurCompatibleTsModulesTree, '');
|
||||||
|
|
||||||
var typescriptTree = compileWithTypescript(traceurCompatibleTsModulesTree, {
|
var typescriptTree = compileWithTypescript(traceurCompatibleTsModulesTree, {
|
||||||
allowNonTsExtensions: false,
|
allowNonTsExtensions: false,
|
||||||
emitDecoratorMetadata: true,
|
emitDecoratorMetadata: true,
|
||||||
|
|
Loading…
Reference in New Issue