mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 02:16:05 +01: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