Skip to content

Commit 9b868aa

Browse files
HCK-8640: Incorrect parsing of NamedInstance from connection string (#93)
* HCK-8640: Incorrect parsing of NamedInstance from connection string * fix * fix --------- Co-authored-by: chulanovskyi-bs <[email protected]>
1 parent ff1d3f5 commit 9b868aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

reverse_engineering/helpers/parseConnectionString.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ const parseBasicString = ({ string = '' }) => {
4949

5050
return {
5151
host: host,
52-
port: parsed.port,
52+
port: host.includes('\\') ? null : parsed.port,
5353
databaseName: parsed.database,
5454
userName: parsed.user,
5555
userPassword: parsed.password,

0 commit comments

Comments
 (0)