smoonb 0.0.30 → 0.0.32
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 +2 -4
package/package.json
CHANGED
package/src/commands/backup.js
CHANGED
|
@@ -358,7 +358,7 @@ async function backupEdgeFunctionsWithDocker(projectId, accessToken, backupDir)
|
|
|
358
358
|
name: func.name,
|
|
359
359
|
slug: func.name,
|
|
360
360
|
version: func.version || 'unknown',
|
|
361
|
-
files: await fs.access(targetDir).then(() =>
|
|
361
|
+
files: await fs.access(targetDir).then(() => fs.readdir(targetDir)).catch(() => [])
|
|
362
362
|
});
|
|
363
363
|
} else {
|
|
364
364
|
throw new Error('Diretório não encontrado após download');
|
|
@@ -664,9 +664,7 @@ ORDER BY rolname;
|
|
|
664
664
|
`-d ${database}`,
|
|
665
665
|
'-f /host/temp_settings.sql',
|
|
666
666
|
'-t', // Tuples only
|
|
667
|
-
'-A'
|
|
668
|
-
'-F', // Field separator
|
|
669
|
-
'|'
|
|
667
|
+
'-A' // Unaligned output
|
|
670
668
|
].join(' ');
|
|
671
669
|
|
|
672
670
|
console.log(chalk.gray(' - Executando queries de configurações via Docker...'));
|