Skip to content

Commit 361dd7f

Browse files
committed
Suggest using sb3fix even if start signature is missing
1 parent 6a1b267 commit 361dd7f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/components/tw-invalid-project-modal/invalid-project-modal.jsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@ const formatError = error => {
2525
const errorMatches = (error, regex) => regex.test(`${error}`);
2626

2727
const isZipCorruptionWithSignatureIntact = error => (
28-
errorMatches(error, /Corrupted zip|uncompressed data size mismatch/) &&
29-
!errorMatches(error, /Corrupted zip: can't find zip signature/)
28+
errorMatches(error, /Corrupted zip|uncompressed data size mismatch/)
3029
);
3130

3231
const isJSONValidationError = error => errorMatches(error, /validationError/);

0 commit comments

Comments
 (0)