smoonb 0.0.28 → 0.0.29
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/package.json +1 -1
- package/src/commands/backup.js +1 -1
package/package.json
CHANGED
package/src/commands/backup.js
CHANGED
|
@@ -706,7 +706,7 @@ ORDER BY rolname;
|
|
|
706
706
|
await fs.writeFile(jsonFile, JSON.stringify(result, null, 2));
|
|
707
707
|
|
|
708
708
|
// Limpar arquivo temporário
|
|
709
|
-
await fs.unlink(sqlFile);
|
|
709
|
+
await fs.promises.unlink(sqlFile);
|
|
710
710
|
|
|
711
711
|
const stats = fs.statSync(jsonFile);
|
|
712
712
|
const sizeKB = (stats.size / 1024).toFixed(1);
|