Skip to content

Commit 230c988

Browse files
update file search check
1 parent 5377c8d commit 230c988

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libraries/Executor.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ class Executor {
220220
return //Promise rejection will be handled in the process.on('close') section because this.killedFromPortIssue is being set to true
221221
}
222222

223-
const xStartedSuccessfully = file.includes('X Plugin ready for connections') || file.includes("mysqlx reported: 'Server starts handling incoming connections'") || (lte(this.version, '8.0.12') && gte(this.version, '8.0.4') && !file.search(/\[ERROR\].*Plugin mysqlx reported/m))
223+
const xStartedSuccessfully = file.includes('X Plugin ready for connections') || file.includes("mysqlx reported: 'Server starts handling incoming connections'") || (lte(this.version, '8.0.12') && gte(this.version, '8.0.4') && file.search(/\[ERROR\].*Plugin mysqlx reported/m) === -1)
224224

225225
if (options.xEnabled === 'FORCE' && !xStartedSuccessfully) {
226226
this.logger.error('Error file:', file)

0 commit comments

Comments
 (0)