remove midkr
This commit is contained in:
parent
197cff5dc0
commit
b55058dae8
6
app.js
6
app.js
|
|
@ -15,9 +15,9 @@ var folders = ['./uploads', './public/images/favicon', './public/images/snap'];
|
|||
folders.forEach((folder) => {
|
||||
fs.exists(folder, function (exists) {
|
||||
if (!exists) {
|
||||
fs.mkdir(folder, function (err) {
|
||||
if (err) console.error(err);
|
||||
});
|
||||
// fs.mkdir(folder, function (err) {
|
||||
// if (err) console.error(err);
|
||||
// });
|
||||
} else {
|
||||
console.log(folder + "is exists!");
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue