chore: remove unused nosec comment
All checks were successful
submodules sync / sync (push) Successful in 45s
build / build (push) Successful in 1m31s
build / trigger-build-image (push) Successful in 9s

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 {
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: