Skip to content

Commit 590cdef

Browse files
authored
Update lib/connection.js
1 parent c4d5458 commit 590cdef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/connection.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ class Connection extends EventEmitter {
4242
// TODO: use `/usr/local/mysql/bin/mysql_config --socket` output? as default socketPath
4343
// if there is no host/port and no socketPath parameters?
4444
if (!opts.config.stream) {
45-
this.stream = getStream(!!opts.config.ssl);
45+
this.stream = getStream(opts.config.ssl);
4646
if (opts.config.socketPath) {
4747
// FIXME
4848
this.stream.connect(opts.config.socketPath);

0 commit comments

Comments
 (0)