We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cc56482 + 6dfaa2f commit f330c10Copy full SHA for f330c10
dep/cmd/cmd.go
@@ -238,7 +238,7 @@ func WithGoCode(modulePath, mainPkg string) Opt {
238
239
// WithGoCover calls WithGoCoverDir with the os.Getenv("GOCOVERDIR") value if it's set.
240
// Otherwise it's a no-op.
241
-func WithGoCove() Opt {
+func WithGoCover() Opt {
242
dir := os.Getenv("GOCOVERDIR")
243
if dir == "" {
244
return func(c *Cmd) error { return nil }
0 commit comments