File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
lib/modules/datasource/sbt-package Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,10 @@ import { MAVEN_REPO } from '../maven/common';
10
10
import { downloadHttpProtocol } from '../maven/util' ;
11
11
import type {
12
12
GetReleasesConfig ,
13
+ PostprocessReleaseConfig ,
14
+ PostprocessReleaseResult ,
13
15
RegistryStrategy ,
16
+ Release ,
14
17
ReleaseResult ,
15
18
} from '../types' ;
16
19
import { extractPageLinks , getLatestVersion } from './util' ;
@@ -217,4 +220,13 @@ export class SbtPackageDatasource extends MavenDatasource {
217
220
) ;
218
221
return null ;
219
222
}
223
+
224
+ // istanbul ignore next: to be rewritten
225
+ override async postprocessRelease (
226
+ config : PostprocessReleaseConfig ,
227
+ release : Release ,
228
+ ) : Promise < PostprocessReleaseResult > {
229
+ const mavenResult = await super . postprocessRelease ( config , release ) ;
230
+ return mavenResult === 'reject' ? release : mavenResult ;
231
+ }
220
232
}
You can’t perform that action at this time.
0 commit comments