JeremyYao commented on code in PR #1245:
URL: https://github.com/apache/daffodil-vscode/pull/1245#discussion_r2075815079


##########
debugger/src/main/scala/org.apache.daffodil.tdml/TDML.scala:
##########
@@ -250,13 +250,7 @@ object TDML {
   // Returns a tuple containing the following (Path to DFDL Schema, Path to 
Data File)
   // All paths returned could be either relative or absolute - it depends on 
what exists in the TDML file
   def execute(tdmlName: String, tdmlDescription: String, tdmlPath: String): 
Option[(Path, Path)] = {
-
-    // Correct basepath for Windows OS
-    var basePath = ""
-    if (System.getProperty("os.name").toLowerCase.startsWith("win") == true)
-      (
-        basePath = Paths.get(tdmlPath).toAbsolutePath().getParent().toString()
-      )
+    val basePath = Paths.get(tdmlPath).toAbsolutePath().getParent().toString()

Review Comment:
   Tested on RHEL9 and seems to be working. 



-- 
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: commits-unsubscr...@daffodil.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to