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 5d34dbf commit 22802fdCopy full SHA for 22802fd
go/extractor/configurebaseline/configurebaseline.go
@@ -19,7 +19,7 @@ func isGolangVendorDirectory(dirPath string) bool {
19
return path.Base(dirPath) == "vendor" && fileExists(path.Join(dirPath, "modules.txt"))
20
}
21
22
-type PathsIgnoreStruct struct {
+type BaselineConfig struct {
23
PathsIgnore []string `json:"paths-ignore"`
24
25
@@ -43,6 +43,6 @@ func GetConfigBaselineAsJSON(rootDir string) ([]byte, error) {
43
})
44
45
46
- outputStruct := PathsIgnoreStruct{PathsIgnore: vendorDirs}
+ outputStruct := BaselineConfig{PathsIgnore: vendorDirs}
47
return json.Marshal(outputStruct)
48
0 commit comments