From 52235eb3aebb61c26a9d9fe32ec75feffe4f3d78 Mon Sep 17 00:00:00 2001 From: et-nik Date: Sun, 25 Feb 2024 23:36:51 +0100 Subject: [PATCH] fix executor command name --- internal/app/components/executor.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/app/components/executor.go b/internal/app/components/executor.go index 6532970..67ef21f 100644 --- a/internal/app/components/executor.go +++ b/internal/app/components/executor.go @@ -112,6 +112,7 @@ func ExecWithWriter( if err != nil { return invalidResult, errors.Wrap(err, "executable file not found") } + name = args[0] } else if err != nil { return invalidResult, errors.Wrap(err, "executable file not found") }