Skip to content

fix: guard empty plugin args#7539

Open
operagxoksana wants to merge 1 commit intoFuelLabs:masterfrom
operagxoksana:patch-3
Open

fix: guard empty plugin args#7539
operagxoksana wants to merge 1 commit intoFuelLabs:masterfrom
operagxoksana:patch-3

Conversation

@operagxoksana
Copy link

No description provided.

@operagxoksana operagxoksana requested a review from a team as a code owner January 26, 2026 07:49
@cursor
Copy link

cursor bot commented Jan 26, 2026

PR Summary

Improves robustness of external plugin execution by validating args before use.

  • In execute_external_subcommand, replace first().expect(...) with an error return (anyhow!("no subcommand provided")) when no subcommand is supplied
  • All other behavior for locating and invoking forc-<cmd> remains unchanged

Written by Cursor Bugbot for commit 74946b1. This will update automatically on new commits. Configure here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant