@deinossrl/dgp-agent 1.4.45 → 1.4.46
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.
- package/CHANGELOG.md +7 -0
- package/index.mjs +4 -4
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog - DGP Agent
|
|
2
2
|
|
|
3
|
+
## [1.4.46] - 2026-01-12
|
|
4
|
+
|
|
5
|
+
### Fixed
|
|
6
|
+
- Corregido error con rutas que contienen espacios al ejecutar pg_dump
|
|
7
|
+
- Entrecomillado de ruta de pg_dump.exe y archivo de salida
|
|
8
|
+
- Resuelve error "C:\Users\Eduardo no se reconoce como un comando"
|
|
9
|
+
|
|
3
10
|
## [1.4.45] - 2026-01-12
|
|
4
11
|
|
|
5
12
|
### Fixed
|
package/index.mjs
CHANGED
|
@@ -1738,11 +1738,11 @@ async function executePgDump(command) {
|
|
|
1738
1738
|
});
|
|
1739
1739
|
}
|
|
1740
1740
|
|
|
1741
|
-
// Archivo de salida
|
|
1742
|
-
pgDumpArgs.push(`--file
|
|
1741
|
+
// Archivo de salida (entrecomillar por si tiene espacios)
|
|
1742
|
+
pgDumpArgs.push(`--file="${localFilePath}"`);
|
|
1743
1743
|
|
|
1744
|
-
// Ejecutar pg_dump
|
|
1745
|
-
const fullCommand =
|
|
1744
|
+
// Ejecutar pg_dump (entrecomillar ruta por si tiene espacios)
|
|
1745
|
+
const fullCommand = `"${pgDumpCmd}" ${pgDumpArgs.join(' ')}`;
|
|
1746
1746
|
logCommand(`Ejecutando: pg_dump [conexión oculta]`);
|
|
1747
1747
|
await addCommandLog('command', 'Ejecutando pg_dump...');
|
|
1748
1748
|
|