scholarsmate commented on code in PR #1197:
URL: https://github.com/apache/daffodil-vscode/pull/1197#discussion_r1984161191


##########
src/language/providers/closeUtils.ts:
##########
@@ -336,7 +336,8 @@ export function getItemsForLineLT2(
             testLine = lineBefore
             while (!testText.includes('>')) {
               testText = document.lineAt(++testLine).text
-              if (testText.indexOf('<') > -1) [openTagArray.push(testLine)]
+              if (testText.indexOf('<' + nsPrefix + items[i]) > -1)
+                [openTagArray.push(testLine)]

Review Comment:
   What is the reason for these square brackets here?!  I think it should just 
be `openTagArray.push(testLine)`, right?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to