This commit is contained in:
Daniel García Aubert 2019-10-01 13:15:13 +02:00
parent 79143e3df6
commit 9c79959f88

View File

@ -70,6 +70,7 @@ function App(statsClient) {
global.settings.ratelimits
);
// TODO: it's here becouse of testing purposes, try to move to top level
global.settings.tmpDir = global.settings.tmpDir || '/tmp';
if (!fs.existsSync(global.settings.tmpDir)) {
mkdirp.sync(global.settings.tmpDir);