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) => {
|
folders.forEach((folder) => {
|
||||||
fs.exists(folder, function (exists) {
|
fs.exists(folder, function (exists) {
|
||||||
if (!exists) {
|
if (!exists) {
|
||||||
fs.mkdir(folder, function (err) {
|
// fs.mkdir(folder, function (err) {
|
||||||
if (err) console.error(err);
|
// if (err) console.error(err);
|
||||||
});
|
// });
|
||||||
} else {
|
} else {
|
||||||
console.log(folder + "is exists!");
|
console.log(folder + "is exists!");
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue