Skip to content

Commit 2aedb62

Browse files
change log location
1 parent 339137a commit 2aedb62

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/index.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,6 @@ export async function createDB(opts?: ServerOptions) {
4242
throw `A version of MySQL is installed on your system that is not supported by this package. If you want to download a MySQL binary instead of getting this error, please set the option "ignoreUnsupportedSystemVersion" to true.`
4343
}
4444

45-
logger.log('Platform:', process.platform, '| etcOSRelease:', etcOSRelease)
46-
4745
logger.log('Version currently installed:', version)
4846
if (version === null || (options.version && !satisfies(version.version, options.version)) || unsupportedMySQLIsInstalled) {
4947
let binaryInfo: BinaryInfo;

tests/versions.test.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,16 @@ import { coerce, satisfies } from 'semver';
55
import { ServerOptions } from '../types';
66
import getBinaryURL from '../src/libraries/Version';
77
import { DOWNLOADABLE_MYSQL_VERSIONS } from '../src/constants';
8+
import etcOSRelease from '../src/libraries/LinuxOSRelease';
89

910
const usernames = ['root', 'dbuser']
1011

1112
jest.setTimeout(500_000); //5 minutes
1213

1314
const arch = process.arch === 'x64' || (process.platform === 'win32' && process.arch === 'arm64') ? 'x64' : 'arm64';
1415

16+
console.log('Platform:', process.platform, '| etcOSRelease:', etcOSRelease)
17+
1518
for (const version of DOWNLOADABLE_MYSQL_VERSIONS.filter(v => satisfies(v, process.env.VERSION_REQUIREMENT || '>0.0.0'))) {
1619
try {
1720
getBinaryURL(version, arch)

0 commit comments

Comments
 (0)