mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-01 21:21:15 -03:00
correct test for IWYU command
I noticed this when testing what `make lint-all` would output on FreeBSD 12 which does not have a symlink from `iwyu` to `include-what-you-use`.
This commit is contained in:
@@ -71,7 +71,7 @@ end
|
||||
|
||||
# We now have a list of files to check so run the linters.
|
||||
if set -q c_files[1]
|
||||
if type -q iwyu
|
||||
if type -q include-what-you-use
|
||||
echo
|
||||
echo ========================================
|
||||
echo Running IWYU
|
||||
|
||||
Reference in New Issue
Block a user