diff --git a/lib/initUtils.js b/lib/initUtils.js index b8afc34..7d2caa5 100644 --- a/lib/initUtils.js +++ b/lib/initUtils.js @@ -322,7 +322,7 @@ module.exports.registerBundledPlugin = registerBundledPlugin; function readPortFromUnixConfig(configFile, regex) { let result = 0; - if (fs.fileExists(configFile)) { + if (fileExists(configFile)) { const configContent = fs.readFileSync(configFile, 'utf8'); if (configContent) { const configLines = configContent.split('\n');