File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -413,7 +413,7 @@ ${this.results.reduce((x, y) => {
413413 return childPlugins
414414 }
415415
416- getRepoOverrideConfig ( repoName ) {
416+ getRepoOverrideConfig ( repoName ) {
417417 return this . repoConfigs [ `${ repoName } .yml` ] || this . repoConfigs [ `${ repoName } .yaml` ] || { }
418418 }
419419
Original file line number Diff line number Diff line change @@ -152,7 +152,8 @@ describe('Settings Tests', () => {
152152 } )
153153
154154 it ( 'Picks up a repository defined in file using the .yaml extension' , ( ) => {
155- const settings = createSettings ( stubConfig )
155+ settings = createSettings ( stubConfig )
156+ settings . repoConfigs = stubConfig . repoConfigs
156157 const repoConfig = settings . getRepoOverrideConfig ( 'repository' )
157158
158159 expect ( typeof repoConfig ) . toBe ( 'object' )
@@ -171,7 +172,8 @@ describe('Settings Tests', () => {
171172 } )
172173
173174 it ( 'Picks up a repository defined in file using the .yml extension' , ( ) => {
174- const settings = createSettings ( stubConfig )
175+ settings = createSettings ( stubConfig )
176+ settings . repoConfigs = stubConfig . repoConfigs
175177 const repoConfig = settings . getRepoOverrideConfig ( 'repository' )
176178
177179 expect ( typeof repoConfig ) . toBe ( 'object' )
You can’t perform that action at this time.
0 commit comments