Skip to content

Commit

Permalink
Fix function call
Browse files Browse the repository at this point in the history
Signed-off-by: Timothy Gerstel <[email protected]>
  • Loading branch information
timgerstel committed Nov 7, 2024
1 parent 7fdd42f commit 0ac5740
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/initUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit 0ac5740

Please sign in to comment.