Repository navigation
do not check for java executable file in JAVA_HOME - #100
playdohface merged 1 commit into
Conversation
because we can't see it anyway
|
@playdohface I think to have found a workaround for fs operations. By leveraging worktree.which() I was able to see whether a file exists or not. @MrSubidubi how hacky is this approach? |
|
@tartarughina Well, definitely not too intended, but looking into it deeper, it somewhat makes sense that it works. I think it would be fine? If you find it works, feel free to pursue a bit in that direction. |
|
@tartarughina are you doing |
|
No, I use the relative path. As you shared in a different comment this is the intended Unix which behavior. It looks not only in the $PATH but also in the current working directory. Which returns a result so if the result is Some the file exists and you can do operations based on it. |
because we can't see it anyway