Skip to content

Handle empty completion arguments#17

Merged
ioquatix merged 1 commit into
mainfrom
fix-empty-completion-arguments
Jun 17, 2026
Merged

Handle empty completion arguments#17
ioquatix merged 1 commit into
mainfrom
fix-empty-completion-arguments

Conversation

@samuel-williams-shopify

Copy link
Copy Markdown
Contributor

Summary

  • Handle empty completion argument arrays as no completed words.
  • Add a regression test for completing a command with no arguments.

Tests

  • BUNDLE_GEMFILE=gems.rb bundle exec sus
  • BUNDLE_GEMFILE=gems.rb bundle exec rubocop
  • BUNDLE_GEMFILE=gems.rb COVERAGE=PartialSummary bundle exec bake decode:index:coverage lib

@samuel-williams-shopify samuel-williams-shopify force-pushed the fix-empty-completion-arguments branch 2 times, most recently from a95a936 to f2fc6cf Compare June 17, 2026 05:47
Assisted-By: devx/fd316b93-afdd-4504-b9b8-fa80105f245c
@samuel-williams-shopify samuel-williams-shopify force-pushed the fix-empty-completion-arguments branch from f2fc6cf to f82a34a Compare June 17, 2026 05:52
@ioquatix ioquatix merged commit da08e83 into main Jun 17, 2026
38 of 40 checks passed
@ioquatix ioquatix deleted the fix-empty-completion-arguments branch June 17, 2026 06:01
ioquatix pushed a commit that referenced this pull request Jun 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants