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:
Kurtis Rader
2017-02-11 20:14:57 -08:00
parent 4ffb0adb78
commit 9cae25d1eb

View File

@@ -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