summaryrefslogtreecommitdiff
path: root/src/node/hooks
diff options
context:
space:
mode:
Diffstat (limited to 'src/node/hooks')
-rw-r--r--src/node/hooks/i18n.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node/hooks/i18n.js b/src/node/hooks/i18n.js
index d0be2d6f..1b5b354d 100644
--- a/src/node/hooks/i18n.js
+++ b/src/node/hooks/i18n.js
@@ -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')
;