Skip to content

Commit 95e4ead

Browse files
fix runningMySQL versions that need >= macOS 10.14 throws an error
1 parent 3613dd6 commit 95e4ead

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ export const MYSQL_MIN_OS_SUPPORT = {
153153
darwin: {
154154
'5.7.19 - 5.7.23 || 8.0.1 - 8.0.3 || 8.0.11 - 8.0.12': '16.0.0',
155155
'5.7.24 - 5.7.29 || 8.0.4 || 8.0.13 - 8.0.18': '17.0.0',
156-
'5.7.30 - 5.7.31, 8.0.19 - 8.0.22': '18.0.0',
156+
'5.7.30 - 5.7.31 || 8.0.19 - 8.0.22': '18.0.0',
157157
//5.7.32 - 5.7.44 is not supported for macOS by MySQL. Those versions are not appearing in this list
158158
'8.0.0': '13.0.0',
159159
'8.0.23 - 8.0.27': '19.0.0',

src/libraries/Version.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ export default function getBinaryURL(versionToGet: string = "x", options: Intern
4444
const coercedOSRelease = coerce(os.release())
4545
selectedVersions.filter(possibleVersion => {
4646
const OSVersionKey = OSSupportVersionRanges.find(item => satisfies(possibleVersion, item))
47-
console.log('OSVersionKey:', OSVersionKey, 'possibleVersion:', possibleVersion)
4847
return !lt(coercedOSRelease, OSVersionSupport[OSVersionKey])
4948
})
5049

0 commit comments

Comments
 (0)