Skip to content

Commit

Permalink
fix(mggo): put code coverage reports under coverage/
Browse files Browse the repository at this point in the history
odsod committed Jan 6, 2022
1 parent 253f1de commit bbe5c0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion targets/mggo/targets.go
Original file line number Diff line number Diff line change
@@ -12,7 +12,7 @@ import (
func GoTest() error {
const toolName = "go"
mglog.Logger("go-test").Info("running Go unit tests..")
coverFile := filepath.Join(mgtool.GetPath(), toolName, "go-test.txt")
coverFile := filepath.Join(mgtool.GetPath(), toolName, "coverage", "go-test.txt")
if err := os.MkdirAll(filepath.Dir(coverFile), 0o755); err != nil {
return err
}

0 comments on commit bbe5c0c

Please sign in to comment.