File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed
Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -399,13 +399,14 @@ const customLinterPath = "./_tools/custom-gcl";
399399const customLinterHashPath = customLinterPath + ".hash" ;
400400
401401const golangciLintPackage = memoize ( ( ) => {
402- const golangciLintYml = fs . readFileSync ( ".custom-gcl.yml" , "utf8" ) ;
403- const pattern = / ^ v e r s i o n : \s * ( v \d + \. \d + \. \d + ) .* $ / m;
404- const match = pattern . exec ( golangciLintYml ) ;
405- if ( ! match ) {
406- throw new Error ( "Expected version in .custom-gcl.yml" ) ;
407- }
408- const version = match [ 1 ] ;
402+ // const golangciLintYml = fs.readFileSync(".custom-gcl.yml", "utf8");
403+ // const pattern = /^version:\s*(v\d+\.\d+\.\d+).*$/m;
404+ // const match = pattern.exec(golangciLintYml);
405+ // if (!match) {
406+ // throw new Error("Expected version in .custom-gcl.yml");
407+ // }
408+ // const version = match[1];
409+ const version = "v2.6.3-0.20251130135459-0212d7c8deac" ; // https://github.com/golangci/golangci-lint/issues/6205
409410 const major = version . split ( "." ) [ 0 ] ;
410411 const versionSuffix = [ "v0" , "v1" ] . includes ( major ) ? "" : "/" + major ;
411412
You can’t perform that action at this time.
0 commit comments