mirror of https://github.com/calzoneman/sync.git
Fix warning in node 7
This commit is contained in:
parent
aa06884bd6
commit
a624f45493
|
@ -2,7 +2,7 @@
|
|||
"author": "Calvin Montgomery",
|
||||
"name": "CyTube",
|
||||
"description": "Online media synchronizer and chat",
|
||||
"version": "3.24.1",
|
||||
"version": "3.24.2",
|
||||
"repository": {
|
||||
"url": "http://github.com/calzoneman/sync"
|
||||
},
|
||||
|
|
|
@ -10,17 +10,17 @@ module.exports = {
|
|||
Logger.syslog.log("Starting CyTube v" + VERSION);
|
||||
var chanlogpath = path.join(__dirname, "../chanlogs");
|
||||
fs.exists(chanlogpath, function (exists) {
|
||||
exists || fs.mkdir(chanlogpath);
|
||||
exists || fs.mkdirSync(chanlogpath);
|
||||
});
|
||||
|
||||
var chandumppath = path.join(__dirname, "../chandump");
|
||||
fs.exists(chandumppath, function (exists) {
|
||||
exists || fs.mkdir(chandumppath);
|
||||
exists || fs.mkdirSync(chandumppath);
|
||||
});
|
||||
|
||||
var gdvttpath = path.join(__dirname, "../google-drive-subtitles");
|
||||
fs.exists(gdvttpath, function (exists) {
|
||||
exists || fs.mkdir(gdvttpath);
|
||||
exists || fs.mkdirSync(gdvttpath);
|
||||
});
|
||||
singleton = new Server();
|
||||
return singleton;
|
||||
|
|
Loading…
Reference in New Issue