Skip to content

Commit 4492671

Browse files
authored
Merge pull request #10 from acmitchell11/patch-1
Update underpass file size check to reflect update (March 9, 2022)
2 parents 9e8a450 + 9d8fc42 commit 4492671

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/manageMapFiles.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ const appBackupPath = path.join(AppData, underpassPreservationName);
5151

5252
const isValidUnderpass = (mapPath) => {
5353
const { size: fileSize } = fs.statSync(mapPath);
54-
if (fileSize >= 2304605 || fileSize <= 2104605) return false;
54+
if (fileSize >= 2438000 || fileSize <= 2104605) return false;
5555
return true;
5656
};
5757

0 commit comments

Comments
 (0)