File tree Expand file tree Collapse file tree 1 file changed +0
-22
lines changed
Expand file tree Collapse file tree 1 file changed +0
-22
lines changed Original file line number Diff line number Diff line change @@ -101,28 +101,6 @@ async function renderSidebarHTML() {
101101 // create temporary modified files array
102102 let modifiedFilesTemp = Object . values ( JSON . parse ( JSON . stringify ( modifiedFiles ) ) ) ;
103103
104- // legacy modified file dir
105- modifiedFilesTemp . forEach ( modFile => {
106-
107- // map modified file location
108- let [ fileUser , fileRepo , fileDir ] = modFile . dir . split ( ',' ) ;
109-
110- const [ repoName , repoBranch ] = repo . split ( ':' ) ;
111-
112- // if modified file dosen't have a branch
113- // and is in current repo
114- if ( ! fileRepo . includes ( ':' )
115- && fileUser === user
116- && fileRepo === repoName ) {
117-
118- // append default branch to file
119- fileRepo = fileRepo + ':' + repoBranch ;
120- modFile . dir = [ fileUser , fileRepo , fileDir ] . join ( ) ;
121-
122- }
123-
124- } ) ;
125-
126104 // get all modified files in directory
127105 modifiedFilesTemp = modifiedFilesTemp . filter ( modFile => modFile . dir == treeLoc . join ( ) ) ;
128106
You can’t perform that action at this time.
0 commit comments