Typo in tools path in tsconfig.json

This commit is contained in:
Zaid Abdulla committed 2019-07-24 15:40:42 -07:00
1 parent 9a5f259c87
commit 90d346631f
2 files changed
+8 -8

No files matched your search

+7 -7
View File
@@ -28,9 +28,7 @@ process.chdir(path.resolve(path.dirname(fs.realpathSync(__filename)), ".."));
const dataModel = {};
function recursive(object, p): void {
if (!p) p = "";
function recursive(object, p = ""): void {
for (const key in object) {
if (key[0] === "_" || !object[key]) continue;
@@ -58,10 +56,9 @@ function recursive(object, p): void {
}
}
connect(err => {
if (err) throw err;
return devicesCollection.findOne(
connect()
.then(() => {
devicesCollection.findOne(
{
_id: process.argv[2]
},
@@ -81,4 +78,7 @@ connect(err => {
});
}
);
})
.catch(err => {
throw err;
});
+1 -1
View File
@@ -19,6 +19,6 @@
"./ui/**/*",
"./test/**/*",
"./build/**/*",
"./toos/.*.ts"
"./tools/.*.ts"
]
}