Upload via GUI (85 Dateien)
This commit is contained in:
@@ -88,7 +88,7 @@ function isPackFailure(stderr) {
|
||||
Upload-Vorschau
|
||||
---------------------------------------------------------------- */
|
||||
async function previewUpload({ paths, destPath }, deps) {
|
||||
const { items, skipped, ignored } = await deps.buildItemsFromPaths(paths, destPath);
|
||||
const { items, skipped, ignored, blocked } = await deps.buildItemsFromPaths(paths, destPath);
|
||||
const files = [];
|
||||
let totalBytes = 0;
|
||||
for (const item of items) {
|
||||
@@ -109,7 +109,7 @@ async function previewUpload({ paths, destPath }, deps) {
|
||||
...(ignored || [])
|
||||
];
|
||||
return {
|
||||
ok: true, files, totalBytes, ignored: ignoredEntries, secretCount: secrets.size,
|
||||
ok: true, files, totalBytes, ignored: ignoredEntries, secretCount: secrets.size, blocked: blocked || [],
|
||||
previewMode: prefs.uploadPreview, secretScan: prefs.uploadSecretScan
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user