fix: refs #5483 run network param code fix

This commit is contained in:
Juan Ferrer 2024-01-28 12:55:49 +01:00
parent d1bb74d84b
commit ef1a28b3a3
3 changed files with 5 additions and 5 deletions

View File

@ -126,8 +126,8 @@ class Run extends Command {
});
if (opts.ci) {
dbConfig.host = network
? netSettings.Networks[network].IPAddress
dbConfig.host = opts.network
? netSettings.Networks[opts.network].IPAddress
: netSettings.Gateway;
dbConfig.port = 3306;
} else

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{
"name": "@verdnatura/myt",
"version": "1.5.32",
"version": "1.5.34",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@verdnatura/myt",
"version": "1.5.32",
"version": "1.5.34",
"license": "GPL-3.0",
"dependencies": {
"@sqltools/formatter": "^1.2.5",

View File

@ -1,6 +1,6 @@
{
"name": "@verdnatura/myt",
"version": "1.5.33",
"version": "1.5.34",
"author": "Verdnatura Levante SL",
"description": "MySQL version control",
"license": "GPL-3.0",