Skip to content
Snippets Groups Projects
Unverified Commit b8c5a87b authored by Philip's avatar Philip Committed by GitHub
Browse files

fix(manage/gomod): Golang fix pin (#16682)

parent 146df16e
No related branches found
No related tags found
No related merge requests found
...@@ -27,6 +27,7 @@ describe('modules/manager/gomod/extract', () => { ...@@ -27,6 +27,7 @@ describe('modules/manager/gomod/extract', () => {
depType: 'golang', depType: 'golang',
depName: 'go', depName: 'go',
datasource: 'golang-version', datasource: 'golang-version',
rangeStrategy: 'replace',
}), }),
]) ])
); );
......
...@@ -45,6 +45,7 @@ function getGoDep(lineNumber: number, goVer: string): PackageDependency { ...@@ -45,6 +45,7 @@ function getGoDep(lineNumber: number, goVer: string): PackageDependency {
currentValue: goVer, currentValue: goVer,
datasource: GolangVersionDatasource.id, datasource: GolangVersionDatasource.id,
versioning: 'npm', versioning: 'npm',
rangeStrategy: 'replace',
}; };
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment