diff options
author | Rory Dudley | 2024-05-20 23:52:37 -0600 |
---|---|---|
committer | Rory Dudley | 2024-05-20 23:52:37 -0600 |
commit | 85a3bd273e927b8dc31aadf263b93ef8fd3b7a39 (patch) | |
tree | a3d228ce5c2d94ee4651c21cc5759b362fe0f769 /.github/workflows/dwarvish.yml | |
parent | 6d39d319d54c5385e9db345e0ff5a9640cc4190d (diff) | |
download | dwarvish-85a3bd273e927b8dc31aadf263b93ef8fd3b7a39.tar.gz |
Update the return value of Verse::spellcheck()
Instead of returning true or false, if a given bin is found on the
$PATH, return the index of where the bin was found. This is useful, in
case we want to actually get the full path of the bin.
If a full or relative path is specified, the function will return the
length of the bins vector.
Notes
Notes:
This is primarily useful for the built-in 'which' command, so that we
can print out the full bin path without invoking /usr/bin/which.
Diffstat (limited to '.github/workflows/dwarvish.yml')
0 files changed, 0 insertions, 0 deletions