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 df10b65 commit 3f800ccCopy full SHA for 3f800cc
helpers.go
@@ -446,6 +446,6 @@ func ExcludedDirsRegExp(excludedDirs []string) []*regexp.Regexp {
446
447
// RootPath returns the absolute root path of a scan
448
func RootPath(root string) (string, error) {
449
- root = strings.TrimPrefix(root, "...")
+ root = strings.TrimSuffix(root, "...")
450
return filepath.Abs(root)
451
}
0 commit comments