refactor: use getCanonicalPath instead of toRealPath
This commit is contained in:
@@ -118,7 +118,7 @@ def compile(
|
||||
_ <- logAction(s"Compilation failed for $filePath\nExit code: $code")
|
||||
_ <- IO.blocking(
|
||||
// Explicit println since we want this to always show without logger thread info e.t.c.
|
||||
println(s"Compilation failed for ${file.toPath.toRealPath()}:\n$errorMsg")
|
||||
println(s"Compilation failed for ${file.getCanonicalPath}:\n$errorMsg")
|
||||
)
|
||||
} yield code
|
||||
|
||||
|
||||
Reference in New Issue
Block a user