Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Added comments to bincompat workaround
  • Loading branch information
lefou authored Nov 27, 2023
commit 4f09c738f11b422b92d97d46623887d85ccdb5ec
3 changes: 3 additions & 0 deletions os/src-jvm/package.scala
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ package object os {
os.ResourcePath.resource(resRoot)
}

// See https://github.com/com-lihaoyi/os-lib/pull/239
// and https://github.com/lightbend/mima/issues/794
// why the need the inner object to preserve binary compatibility
private object _home {
lazy val value = Path(System.getProperty("user.home"))
}
Expand Down
3 changes: 3 additions & 0 deletions os/src-native/package.scala
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ package object os {
path
}

// See https://github.com/com-lihaoyi/os-lib/pull/239
// and https://github.com/lightbend/mima/issues/794
// why the need the inner object to preserve binary compatibility
private object _home {
lazy val value = Path(System.getProperty("user.home"))
}
Expand Down