mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 02:16:05 +01:00 
			
		
		
		
	fix closing parenthesis
This commit is contained in:
		| @@ -33,7 +33,7 @@ function execute(req) { | ||||
|         for (let query of queries) { | ||||
|             query = query.trim(); | ||||
|  | ||||
|             while (query.startsWith('-- ') { | ||||
|             while (query.startsWith('-- ')) { | ||||
|                 // Query starts with one or more SQL comments, discard these before we execute. | ||||
|                 const pivot = query.indexOf('\n'); | ||||
|                 query = pivot > 0 ? query.substr(pivot + 1).trim() : ""; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user