Skip to content

Commit f2c5482

Browse files
committed
Fix the lint issue
Signed-off-by: David Gageot <david.gageot@docker.com>
1 parent fd449b2 commit f2c5482

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

examples/gopher.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,3 +73,5 @@ agents:
7373
ref: docker:ast-grep
7474
config:
7575
path: .
76+
commands:
77+
fix-lint: "fix the lint issues"

pkg/tools/builtin/shell.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ func (h *shellHandler) RunShell(ctx context.Context, toolCall tools.ToolCall) (*
103103
}, nil
104104
}
105105

106-
if len(output) == 0 {
106+
if output == "" {
107107
return &tools.ToolCallResult{
108108
Output: "<no output>",
109109
}, nil

0 commit comments

Comments
 (0)