Run spellcheck on tools directory (#33627)
Add `tools` files to spellcheck and fixed one issue.
This commit is contained in:
parent
f35850f48e
commit
f5a81f9636
2 changed files with 2 additions and 2 deletions
|
@ -8,7 +8,7 @@ IGNORE_PATTERNS=(
|
|||
)
|
||||
|
||||
# lint all go files with 'gopls check' and look for lines starting with the
|
||||
# current absolute path, indicating a error was found. This is neccessary
|
||||
# current absolute path, indicating a error was found. This is necessary
|
||||
# because the tool does not set non-zero exit code when errors are found.
|
||||
# ref: https://github.com/golang/go/issues/67078
|
||||
ERROR_LINES=$("$GO" run "$GOPLS_PACKAGE" check "$@" 2>/dev/null | grep -E "^$PWD" | grep -vFf <(printf '%s\n' "${IGNORE_PATTERNS[@]}"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue