File tree 1 file changed +2
-5
lines changed 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -126,15 +126,12 @@ export class RepositoriesManager implements vscode.Disposable {
126
126
if ( issueModel === undefined ) {
127
127
return undefined ;
128
128
}
129
- const issueRemoteUrl = issueModel . remote . url . substring (
130
- 0 ,
131
- issueModel . remote . url . length - path . extname ( issueModel . remote . url ) . length ,
132
- ) ;
129
+ const issueRemoteUrl = `${ issueModel . remote . owner . toLowerCase ( ) } /${ issueModel . remote . repositoryName . toLowerCase ( ) } ` ;
133
130
for ( const folderManager of this . _folderManagers ) {
134
131
if (
135
132
folderManager . gitHubRepositories
136
133
. map ( repo =>
137
- repo . remote . url . substring ( 0 , repo . remote . url . length - path . extname ( repo . remote . url ) . length ) ,
134
+ ` ${ repo . remote . owner . toLowerCase ( ) } / ${ repo . remote . repositoryName . toLowerCase ( ) } `
138
135
)
139
136
. includes ( issueRemoteUrl )
140
137
) {
You can’t perform that action at this time.
0 commit comments