mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-06-29 02:07:39 +08:00
Handle cache crash
Not sure how this can happen. Fixes APP-YN
This commit is contained in:
@ -39,6 +39,9 @@ class NotesCache {
|
||||
}
|
||||
|
||||
for (var fullFilePath in fileList) {
|
||||
if (!fullFilePath.startsWith(notesBasePath)) {
|
||||
continue;
|
||||
}
|
||||
var filePath = fullFilePath.substring(notesBasePath.length);
|
||||
var components = filePath.split(sep);
|
||||
|
||||
|
Reference in New Issue
Block a user