Commit 8630201b authored by Vytor Calixto's avatar Vytor Calixto 👾
Browse files

Cria pasta uploads depois de apagar tudo

parent 2bee595b
......@@ -33,6 +33,8 @@ Arquivo.remove({}, function(err) {
}
}
}
fs.rmdirSync(dir)
fs.mkdirSync(dir)
} catch(e) {
log.error(e)
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment