Skip to content

Commit 1f00915

Browse files
use version instead of this.version
1 parent 4d51557 commit 1f00915

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libraries/Executor.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ class Executor {
313313
if (version === null) {
314314
return reject('Could not get MySQL version')
315315
} else {
316-
versions.push({version: version.version, path, installedOnSystem: true, xPluginSupported: gte(this.version, '5.7.19')})
316+
versions.push({version: version.version, path, installedOnSystem: true, xPluginSupported: gte(version, '5.7.19')})
317317
}
318318
}
319319

@@ -338,7 +338,7 @@ class Executor {
338338
if (version === null) {
339339
reject('Could not get installed MySQL version')
340340
} else {
341-
resolve({version: version.version, path: 'mysqld', installedOnSystem: true, xPluginSupported: gte(this.version, '5.7.19')})
341+
resolve({version: version.version, path: 'mysqld', installedOnSystem: true, xPluginSupported: gte(version, '5.7.19')})
342342
}
343343
}
344344
}

0 commit comments

Comments
 (0)