From a8d6e644ea9cc784c295decca40c0cf5e4066dac Mon Sep 17 00:00:00 2001 From: Chris Smowton Date: Mon, 19 Aug 2024 17:57:12 +0100 Subject: [PATCH] Clarify comment --- go/extractor/configurebaseline/configurebaseline.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/go/extractor/configurebaseline/configurebaseline.go b/go/extractor/configurebaseline/configurebaseline.go index e318111fef918..fa8023f24a8cd 100644 --- a/go/extractor/configurebaseline/configurebaseline.go +++ b/go/extractor/configurebaseline/configurebaseline.go @@ -33,7 +33,8 @@ func GetConfigBaselineAsJSON(rootDir string) ([]byte, error) { } else { filepath.WalkDir(rootDir, func(dirPath string, d fs.DirEntry, err error) error { if err != nil { - // Mask any unreadable paths. + // Ignore any unreadable paths -- if this script can't see it, very likely + // it will not be extracted either. return nil } if isGolangVendorDirectory(dirPath) {