mirror of
https://github.com/zadam/trilium.git
synced 2025-11-18 11:10:41 +01:00
Merge branch 'stable'
# Conflicts: # package-lock.json # package.json
This commit is contained in:
@@ -1 +1 @@
|
||||
module.exports = { buildDate:"2019-08-01T21:37:59+02:00", buildRevision: "4dd6352aec73db55852068ec146ee0f39bce4027" };
|
||||
module.exports = { buildDate:"2019-08-13T21:48:56+02:00", buildRevision: "90f1bfb3e4838cfea676c7968473c6978ecbed1b" };
|
||||
|
||||
@@ -11,7 +11,7 @@ function ScriptContext(allNotes, apiParams = {}) {
|
||||
const note = candidates.find(c => c.title === moduleName);
|
||||
|
||||
if (!note) {
|
||||
throw new Error("Could not find module note " + moduleName);
|
||||
return require(moduleName);
|
||||
}
|
||||
|
||||
return this.modules[note.noteId].exports;
|
||||
|
||||
Reference in New Issue
Block a user