chore: remove unused nosec comment

This commit is contained in:
张泊明518370910136 2025-03-21 21:48:14 -04:00
parent 2248d4e318
commit bc31485de5
GPG Key ID: D47306D7062CDA9D

View File

@ -142,7 +142,7 @@ func (e *Local) Run(cmds []stage.Cmd) ([]stage.ExecutorResult, error) {
if cmd.ClockLimit > uint64(math.MaxInt64) || cmd.ClockLimit <= 0 { if cmd.ClockLimit > uint64(math.MaxInt64) || cmd.ClockLimit <= 0 {
duration = time.Duration(math.MaxInt64) duration = time.Duration(math.MaxInt64)
} else { } else {
duration = time.Duration(cmd.ClockLimit) * time.Nanosecond // #nosec G115 duration = time.Duration(cmd.ClockLimit) * time.Nanosecond
} }
select { select {
case err := <-done: case err := <-done: