We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a9afbfa commit 7d11fc2Copy full SHA for 7d11fc2
go/ql/lib/semmle/go/Packages.qll
@@ -23,7 +23,7 @@ class Package extends @package {
23
* removed.
24
*/
25
string getPathWithoutMajorVersionSuffix() {
26
- result = this.getPath().regexpReplaceAll("[./]v\\d+$", "")
+ result = this.getPath().regexpReplaceAll("[./]v\\d+", "")
27
}
28
29
/** Gets the scope of this package. */
0 commit comments