Closed fridrich closed 1 week ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 91.00%. Comparing base (
3471e50
) to head (f8a411d
). Report is 16 commits behind head on master.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
I think that it still makes sense to fall back to plain java
if type -p
fails.
For example, consider the following scenario:
$ alias java=/usr/bin/java
$ type -p java
It prints nothing. But executing java
still works.
After more thought I don't think we want to support non-file Java commands such as shell functions or aliases, so I will merge this PR.
After your change which -> type p, my added branch has no much sense, since the type -p will capture all use cases that I was able to try. So, we can bin it.