Fix variable misuse

This commit is contained in:
calzoneman 2015-11-03 19:34:12 -08:00
parent 04336c9712
commit fac11ee312
1 changed files with 2 additions and 2 deletions

View File

@ -169,8 +169,8 @@ module.exports = {
if (webConfig.getEnableMinification()) {
const cacheDir = path.join(__dirname, '..', '..', 'www', 'cache');
if (!fs.existsSync(cache)) {
fs.mkdirSync(cache);
if (!fs.existsSync(cacheDir)) {
fs.mkdirSync(cacheDir);
}
app.use(require('express-minify')({
cache: cacheDir