tuxji commented on code in PR #1065:
URL: https://github.com/apache/daffodil/pull/1065#discussion_r1305609229
##########
daffodil-lib/src/main/scala/org/apache/daffodil/lib/util/Misc.scala:
##########
@@ -660,4 +660,15 @@ object Misc {
}
Some(res)
}
+
+ /**
+ * Replace HOME env var in Path with ~
+ */
+ def depersonalizePath(path: String): String = {
+ path.replace(
+ System.getenv("HOME"),
Review Comment:
Steve's suggestion makes sense to me (so does Mike's). Also, Steve's PR
#1067 has made the import/include logic more consistent, so you'll want to redo
this PR against the latest HEAD anyway when you have time to work on it again.
--
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]