From bc31485de532b67980d515df7597840ecb1ea02b Mon Sep 17 00:00:00 2001 From: Boming Zhang Date: Fri, 21 Mar 2025 21:48:14 -0400 Subject: [PATCH] chore: remove unused nosec comment --- internal/executor/local/executor.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/executor/local/executor.go b/internal/executor/local/executor.go index e5a4cb5..8e802cc 100644 --- a/internal/executor/local/executor.go +++ b/internal/executor/local/executor.go @@ -142,7 +142,7 @@ func (e *Local) Run(cmds []stage.Cmd) ([]stage.ExecutorResult, error) { if cmd.ClockLimit > uint64(math.MaxInt64) || cmd.ClockLimit <= 0 { duration = time.Duration(math.MaxInt64) } else { - duration = time.Duration(cmd.ClockLimit) * time.Nanosecond // #nosec G115 + duration = time.Duration(cmd.ClockLimit) * time.Nanosecond } select { case err := <-done: