chore: remove unused nosec comment
This commit is contained in:
parent
2248d4e318
commit
bc31485de5
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user