Fixed path check

This commit is contained in:
Stefan 2016-06-20 00:22:29 +02:00
parent 85cdb1cf4e
commit 6b9711cb70
3 changed files with 17 additions and 3 deletions

View file

@ -5,7 +5,7 @@ var languages = require('languages4translatewiki')
, npm = require('npm')
, plugins = require('ep_etherpad-lite/static/js/pluginfw/plugins.js').plugins
, semver = require('semver')
, existsSync = fs.statSync || fs.existsSync || path.existsSync
, existsSync = require('../utils/path_exists')
;