Cast port to number on cli init

Fixes #4536
This commit is contained in:
rijkvanzanten
2021-03-15 11:20:50 -04:00
parent 23817ad1fa
commit 37b2ec8a27

View File

@@ -28,7 +28,7 @@ export default function createDBConnection(
connection = {
host: host,
port: port,
port: Number(port),
database: database,
user: user,
password: password,
@@ -38,7 +38,7 @@ export default function createDBConnection(
connection = {
host: host,
port: port,
port: Number(port),
database: database,
user: user,
password: password,