utn-cli 2.1.20 → 2.1.21

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.
@@ -23,7 +23,7 @@ async function inicializarProyectoBackend() {
23
23
  }
24
24
  let informacionDelModuloJson = JSON.parse(fs.readFileSync(rutaDeInformacionDelModuloJson, 'utf-8'));
25
25
  const rutaDeInformacionDelModulo = path.join(process.cwd(), 'servicios/Nucleo/InformacionDelModulo.js');
26
- fs.unlinkSync(path.join(process.cwd(), 'servicios/InformacionDelModulo.js'));
26
+ fs.rmSync(path.join(process.cwd(), 'servicios/InformacionDelModulo.js'), { force: true });
27
27
 
28
28
  // Helper to ask and replace
29
29
  async function askAndReplace(prop, promptText, fileToReplace, placeholder, specialHandler = null) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "utn-cli",
3
- "version": "2.1.20",
3
+ "version": "2.1.21",
4
4
  "description": "Herramienta CLI unificada para la gestión de plantillas en SIGU.",
5
5
  "main": "index.js",
6
6
  "type": "module",