fix leak tree script

This commit is contained in:
Sérgio Ramos 2017-03-07 17:04:56 +00:00
parent 9cdfda0e64
commit b11306038d
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ const tree = module.exports.tree = async ({
})
}));
return transform(res);
return transform(JSON.parse(res.body));
};
if (!module.parent) {