fix(dump): refs #5483 ini path should not include subdir

This commit is contained in:
Juan Ferrer 2024-02-15 11:05:53 +01:00
parent 6eb451ecaf
commit 79a374d460
3 changed files with 4 additions and 4 deletions

View File

@ -83,7 +83,7 @@ module.exports = class Dumper {
} }
async runDump(command, args) { async runDump(command, args) {
const iniPath = path.join(this.opts.subdir || '', 'remotes', this.opts.iniFile); const iniPath = path.join('remotes', this.opts.iniFile);
const myArgs = [ const myArgs = [
`--defaults-file=${iniPath}` `--defaults-file=${iniPath}`
]; ];

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{ {
"name": "@verdnatura/myt", "name": "@verdnatura/myt",
"version": "1.6.6", "version": "1.6.7",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "@verdnatura/myt", "name": "@verdnatura/myt",
"version": "1.6.6", "version": "1.6.7",
"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.6.6", "version": "1.6.7",
"author": "Verdnatura Levante SL", "author": "Verdnatura Levante SL",
"description": "MySQL version control", "description": "MySQL version control",
"license": "GPL-3.0", "license": "GPL-3.0",