Skip to content

Commit

Permalink
fix single target execution
Browse files Browse the repository at this point in the history
  • Loading branch information
kaidaguerre committed Feb 28, 2024
1 parent 573f32a commit 5a07459
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/controlexecute/execution_tree.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ func NewExecutionTree(ctx context.Context, workspace *workspace.Workspace, clien

var resolvedItem modconfig.ModTreeItem
// if only one argument is provided, add this as execution root
if len(targets) > 1 {
if len(targets) == 1 {
resolvedItem = targets[0]
} else {
// create a root benchmark with `items` as it's children
Expand Down

0 comments on commit 5a07459

Please sign in to comment.