smoonb 0.0.36 → 0.0.37
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
|
@@ -457,7 +457,7 @@ async function backupEdgeFunctionsWithDocker(projectId, accessToken, backupDir)
|
|
|
457
457
|
version: func.version || 'unknown',
|
|
458
458
|
files: await fs.readdir(functionTargetDir).catch(() => [])
|
|
459
459
|
});
|
|
460
|
-
}
|
|
460
|
+
} catch (innerError) {
|
|
461
461
|
throw new Error('Diretório não encontrado após download');
|
|
462
462
|
}
|
|
463
463
|
|