mirror of
https://github.com/TriliumNext/Notes.git
synced 2026-05-07 12:49:14 -05:00
many small issues found by intellij analysis
This commit is contained in:
@@ -21,6 +21,8 @@ const ValidationError = require("../../errors/validation_error");
|
||||
* @param {TaskContext} taskContext
|
||||
* @param {BBranch} branch
|
||||
* @param {string} format - 'html' or 'markdown'
|
||||
* @param {object} res - express response
|
||||
* @param {boolean} setHeaders
|
||||
*/
|
||||
async function exportToZip(taskContext, branch, format, res, setHeaders = true) {
|
||||
if (!['html', 'markdown'].includes(format)) {
|
||||
|
||||
Reference in New Issue
Block a user