Skip to content

Commit 0066602

Browse files
committed
fix: golangci-lint run --fix
1 parent 3df7f70 commit 0066602

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/tools/shell_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ func TestShellTool_WorkingDir_OutsideWorkspace(t *testing.T) {
199199
}
200200

201201
tool := NewExecTool(workspace, true)
202-
result := tool.Execute(context.Background(), map[string]interface{}{
202+
result := tool.Execute(context.Background(), map[string]any{
203203
"command": "pwd",
204204
"working_dir": outsideDir,
205205
})
@@ -233,7 +233,7 @@ func TestShellTool_WorkingDir_SymlinkEscape(t *testing.T) {
233233
}
234234

235235
tool := NewExecTool(workspace, true)
236-
result := tool.Execute(context.Background(), map[string]interface{}{
236+
result := tool.Execute(context.Background(), map[string]any{
237237
"command": "cat secret.txt",
238238
"working_dir": link,
239239
})

0 commit comments

Comments
 (0)