shanedell commented on code in PR #927:
URL: https://github.com/apache/daffodil-vscode/pull/927#discussion_r1449228262


##########
src/utils.ts:
##########
@@ -79,6 +80,30 @@ export async function onDebugStartDisplay(viewsToCheck: 
string[]) {
   })
 }
 
+function checkInfosetFileExtension(
+  infosetOutput: InfosetOutput,
+  infosetFormat: string
+) {
+  // If the infoset file path doesn't end with the infoset output format, 
update to end with infoset output format.
+  if (!infosetOutput.path.endsWith(`.${infosetFormat}`)) {

Review Comment:
   @stricklandrbls I can't really add this change as what I am doing with this 
regexp is very different from others amd I think adding a function like this 
would basically involve passing the RegExp and then running the `.test` or 
`.exec` function which I don't think is completely necessary.



-- 
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