From 79a374d460945e4b8a9c7d32fe69f77e240f20de Mon Sep 17 00:00:00 2001 From: Juan Ferrer Toribio Date: Thu, 15 Feb 2024 11:05:53 +0100 Subject: [PATCH] fix(dump): refs #5483 ini path should not include subdir --- lib/dumper.js | 2 +- package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/dumper.js b/lib/dumper.js index 94d601a..db20431 100644 --- a/lib/dumper.js +++ b/lib/dumper.js @@ -83,7 +83,7 @@ module.exports = class Dumper { } 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 = [ `--defaults-file=${iniPath}` ]; diff --git a/package-lock.json b/package-lock.json index aeef553..5e78c78 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@verdnatura/myt", - "version": "1.6.6", + "version": "1.6.7", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@verdnatura/myt", - "version": "1.6.6", + "version": "1.6.7", "license": "GPL-3.0", "dependencies": { "@sqltools/formatter": "^1.2.5", diff --git a/package.json b/package.json index 6e5762a..c9d01ea 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@verdnatura/myt", - "version": "1.6.6", + "version": "1.6.7", "author": "Verdnatura Levante SL", "description": "MySQL version control", "license": "GPL-3.0",