chore(coderd): remove timing check (#7144)

This commit is contained in:
Ammar Bandukwala
2023-04-17 17:40:02 +00:00
committed by GitHub
parent b3b26a62f2
commit 80bf042528
2 changed files with 0 additions and 19 deletions
-7
View File
@@ -1,7 +1,6 @@
package testutil
import (
"flag"
"os"
)
@@ -9,9 +8,3 @@ func InCI() bool {
_, ok := os.LookupEnv("CI")
return ok
}
func InRaceMode() bool {
fl := flag.Lookup("race")
//nolint:forcetypeassert
return fl != nil && fl.Value.(flag.Getter).Get().(bool)
}