Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
DAFFODIL-XXX
  • Loading branch information
stevedlawrence committed Feb 11, 2025
1 parent bd4067e commit 65e2f30
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -188,11 +188,10 @@ object Util {
val (toIn, fromOut, fromErr, cliThreadOrProc: Either[CLIThread, Process]) =
if (classpaths.nonEmpty || envs.nonEmpty || directory.isDefined || fork) {

import java.nio.file.Files
val d = Paths.get(s"daffodil-cli/target/universal/")
def listDir(path: String): Unit = {
System.err.println("==== listing: " + path)
new File(path).listFiles().iterator().asScala.forEach(System.err.println)
new File(path).listFiles().foreach(System.err.println)
}

listDir("/Users/runner/work")
Expand All @@ -204,9 +203,6 @@ object Util {
listDir("/Users/runner/work/daffodil/daffodil/daffodil-cli/target/universal/stage")
listDir("/Users/runner/work/daffodil/daffodil/daffodil-cli/target/universal/stage/bin")

Files.walk(d).iterator().asScala.foreach(System.err.println)
Files.walk(d).iterator().asScala.foreach(System.err.println)

// spawn a new process to run Daffodil, needed if a custom classpath is
// defined or if the caller explicitly wants to fork
val processBuilder = new ProcessBuilder()
Expand Down

0 comments on commit 65e2f30

Please sign in to comment.