This commit is contained in:
Danielv123 committed 2017-12-09 14:05:17 +01:00
1 parent 9496fa70e0
commit f522f19cb5
3 files changed
+24 -9

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
const fileOps = require("./fileOps.js");
module.exports = {
sync: function(){
let instances;
try {
instances = fileOps.getDirectoriesSync("./instances/");
} catch (e) {
// there are no instances created yet, probably missing the folder
instances = [];
}
return instances;
}
}