mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 11:26:15 +01:00
refactoring to allow unit tests of the whole search subsystem
This commit is contained in:
@@ -4,8 +4,6 @@ const noteCache = require('./note_cache');
|
||||
const hoistedNoteService = require('../hoisted_note');
|
||||
const stringSimilarity = require('string-similarity');
|
||||
|
||||
require('./note_cache_loader')();
|
||||
|
||||
function isNotePathArchived(notePath) {
|
||||
const noteId = notePath[notePath.length - 1];
|
||||
const note = noteCache.notes[noteId];
|
||||
|
||||
Reference in New Issue
Block a user