mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-31 19:02:59 +01:00
Replace path.exists with fs.exists
This commit is contained in:
parent
c0c820c760
commit
9d35b51500
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ var util = require('util');
|
|||
var settings = require('./Settings');
|
||||
|
||||
var CACHE_DIR = path.normalize(path.join(settings.root, 'var/'));
|
||||
CACHE_DIR = path.existsSync(CACHE_DIR) ? CACHE_DIR : undefined;
|
||||
CACHE_DIR = fs.existsSync(CACHE_DIR) ? CACHE_DIR : undefined;
|
||||
|
||||
var responseCache = {};
|
||||
|
||||
|
|
Loading…
Reference in a new issue