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) { if (opts.ci) {
dbConfig.host = network dbConfig.host = opts.network
? netSettings.Networks[network].IPAddress ? netSettings.Networks[opts.network].IPAddress
: netSettings.Gateway; : netSettings.Gateway;
dbConfig.port = 3306; dbConfig.port = 3306;
} else } else

4
package-lock.json generated
View File

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

View File

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