@verdnatura/myt 1.5.32 → 1.5.34

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/myt-run.js +3 -1
  2. package/package.json +1 -1
package/myt-run.js CHANGED
@@ -126,7 +126,9 @@ class Run extends Command {
126
126
  });
127
127
 
128
128
  if (opts.ci) {
129
- dbConfig.host = netSettings.Networks[networkName].IPAddress;
129
+ dbConfig.host = opts.network
130
+ ? netSettings.Networks[opts.network].IPAddress
131
+ : netSettings.Gateway;
130
132
  dbConfig.port = 3306;
131
133
  } else
132
134
  dbConfig.port = netSettings.Ports['3306/tcp'][0].HostPort;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@verdnatura/myt",
3
- "version": "1.5.32",
3
+ "version": "1.5.34",
4
4
  "author": "Verdnatura Levante SL",
5
5
  "description": "MySQL version control",
6
6
  "license": "GPL-3.0",