This commit is contained in:
Danielv123 committed 2016-12-21 14:40:43 +01:00
1 parent cb77717650
commit aac101bad7
1 file changed
+1 -1
+1 -1
View File
@@ -19,6 +19,7 @@ var deleteFolderRecursive = function (path) {
fs.rmdirSync(path); fs.rmdirSync(path);
} }
}; };
function getDirectories(srcpath) { function getDirectories(srcpath) {
return fs.readdirSync(srcpath).filter(function (file) { return fs.readdirSync(srcpath).filter(function (file) {
return fs.statSync(path.join(srcpath, file)).isDirectory(); return fs.statSync(path.join(srcpath, file)).isDirectory();
@@ -190,7 +191,6 @@ function getID() {
} }
}); });
}) })
} }
setInterval(getID, 10000) setInterval(getID, 10000)
// provide items -------------------------------------------------------------- // provide items --------------------------------------------------------------