You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When passing a relative path to --exclude, the project root is used to calculate the resulting absolute path, rather than the current working directory.
Version(s)
1.5.4 and 4ab3227
Describe the bug
When passing a relative path to
--exclude
, the project root is used to calculate the resulting absolute path, rather than the current working directory.To Reproduce
when running
the project root will be at
./subdir
.Let's say
project.scala
includes./subdir2/Something.scala
.//> using file ../subdir2/Something.scala
Now, running
scala-cli
from.
:This won't actually exclude
subdir2/Something.scala
.However, this will:
Expected behaviour
--exclude
should use the current working directory for calculating relative paths.The text was updated successfully, but these errors were encountered: