Skip to content

Commit

Permalink
Fix ScalaNativeP
Browse files Browse the repository at this point in the history
  • Loading branch information
WojciechMazur committed Jan 11, 2024
1 parent 74a207b commit 440fb5a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cli/src/main/scala/scala/scalanative/cli/ScalaNativeP.scala
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,9 @@ object ScalaNativeP {
// When classpath is explicitly provided don't try to read directly
if (!options.usingDefaultClassPath || !file.exists()) None
else
util.Try(
Some(
VirtualDirectory.real(absPath.getParent()) -> absPath.getFileName()
).toOption
)
}

for {
Expand Down

0 comments on commit 440fb5a

Please sign in to comment.