Refactor radar creation

This commit is contained in:
Tom Raithel
2017-01-22 20:57:46 +01:00
parent 7e5395e9b1
commit 99df358c50
6 changed files with 71 additions and 112 deletions

View File

@@ -17,9 +17,9 @@ import {
(async () => {
try {
const tree = await getTree();
// const tree = await getTree();
// console.log(JSON.stringify(tree, null, 2));
const radar = await createRadar(tree);
const radar = await createRadar();
console.log(JSON.stringify(radar, null, 2));
} catch(e) {
console.error('error:', e);