Skip to content

Commit bb1b10d

Browse files
pass options in index.ts
1 parent 9f18704 commit bb1b10d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ export async function createDB(opts?: ServerOptions) {
6060
let binaryInfo: BinaryInfo;
6161
let binaryFilepath: string;
6262
try {
63-
binaryInfo = getBinaryURL(MySQLVersions, options.version)
63+
binaryInfo = getBinaryURL(MySQLVersions, options.version, options)
6464
logger.log('Using MySQL binary version:', binaryInfo.version, 'from URL:', binaryInfo.url)
6565
} catch (e) {
6666
logger.error(e)

types/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export type ServerOptions = {
1616
xPort?: number | undefined,
1717
downloadRetries?: number | undefined,
1818
initSQLString?: string | undefined,
19-
arch: "arm64" | "x64" | undefined
19+
arch: "arm64" | "x64" | undefined,
2020
_DO_NOT_USE_deleteDBAfterStopped?: boolean | undefined,
2121
_DO_NOT_USE_dbPath?: string | undefined,
2222
_DO_NOT_USE_binaryDirectoryPath?: string | undefined,

0 commit comments

Comments
 (0)