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.
1 parent cc56482 commit 6dfaa2fCopy full SHA for 6dfaa2f
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