diff --git a/lib/datasource/go/index.ts b/lib/datasource/go/index.ts index 21e5a84f382f442d90d104b49e7aaad4a55cddc8..9bbfde96b5070cb7c10b8103c323727184236696 100644 --- a/lib/datasource/go/index.ts +++ b/lib/datasource/go/index.ts @@ -30,7 +30,7 @@ async function getDatasource(name: string): Promise<DataSource | null> { hostType: 'go', })).body; const sourceMatch = res.match( - new RegExp(`<meta name="go-source" content="${name}\\s+([^\\s]+)`) + new RegExp(`<meta\\s+name="go-source"\\s+content="${name}\\s+([^\\s]+)`) ); if (sourceMatch) { const [, goSourceUrl] = sourceMatch;