ante-erp-cli 1.11.29 → 1.11.30

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ante-erp-cli",
3
- "version": "1.11.29",
3
+ "version": "1.11.30",
4
4
  "description": "Comprehensive CLI tool for managing ANTE ERP self-hosted installations",
5
5
  "type": "module",
6
6
  "bin": {
@@ -411,7 +411,7 @@ export async function restore(backupFile, options = {}) {
411
411
  */
412
412
  function getSizeSync(filePath) {
413
413
  try {
414
- const stats = require('fs').statSync(filePath);
414
+ const stats = statSync(filePath);
415
415
  const bytes = stats.size;
416
416
  const sizes = ['B', 'KB', 'MB', 'GB'];
417
417
  if (bytes === 0) return '0 B';