From a45f08c4c7e83daacbc473a5795e10dcfd79c6f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johan=20Bergstro=CC=88m?= Date: Wed, 8 Jan 2025 10:07:53 +0000 Subject: [PATCH] chore: include completions when checking for typos --- .github/workflows/typos.yml | 2 +- completions/bun.zsh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/typos.yml b/.github/workflows/typos.yml index 74c2aaec89a2c6..39903d6aa62c9d 100644 --- a/.github/workflows/typos.yml +++ b/.github/workflows/typos.yml @@ -16,4 +16,4 @@ jobs: - name: Spellcheck uses: crate-ci/typos@v1.29.4 with: - files: docs/**/* + files: docs/**/* completions/* diff --git a/completions/bun.zsh b/completions/bun.zsh index f885ac03adc74c..042eb06de545a3 100644 --- a/completions/bun.zsh +++ b/completions/bun.zsh @@ -452,7 +452,7 @@ _bun_run_completion() { '--prefer-latest[Use the latest matching versions of packages in bun'"'"'s JavaScript runtime, always checking npm]' \ '--silent[Don'"'"'t repeat the command for bun run]' \ '--dump-environment-variables[Dump environment variables from .env and process as JSON and quit. Useful for debugging]' \ - '--dump-limits[Dump system limits. Userful for debugging]' && + '--dump-limits[Dump system limits. Useful for debugging]' && ret=0 case $state in @@ -572,7 +572,7 @@ _bun_outdated_completion() { '--no-progress[Disable the progress bar]' \ '--help[Print this help menu]' && ret=0 - + case $state in config) _bun_list_bunfig_toml