Skip to content

Commit 1e84c4d

Browse files
sdalmeidahumphd
authored andcommitted
Fixed Cancel on tar archives
1 parent e35ca88 commit 1e84c4d

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/filesystem/impls/filer/ArchiveUtils.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -350,6 +350,10 @@ define(function (require, exports, module) {
350350

351351
function writeCallback(err) {
352352
if(err) {
353+
if (err.message === "Operation Cancelled") {
354+
finish(err);
355+
return;
356+
}
353357
console.error("[Bramble untar] couldn't extract file", err);
354358
}
355359

0 commit comments

Comments
 (0)