File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ document.addEventListener("DOMContentLoaded", () => {
9898 const repo = decodeURIComponent ( urlParams . get ( 'repo' ) ) ;
9999 const path = decodeURIComponent ( urlParams . get ( 'path' ) ) ;
100100 const token = decodeURIComponent ( urlParams . get ( 'token' ) ) ;
101- headerLabel . innerHTML = `Downloading: repo: ${ owner } /${ repo } ;\t Dir: ${ path } ` ;
101+ headerLabel . innerHTML = `Downloading: repo: ${ owner } /${ repo } ${ path ? ' ;\t Dir: ' + path : '' } ` ;
102102 // if (!repoUrl.includes("github.com")) {
103103 // updateStatus("Invalid URL. Please enter a valid GitHub repository URL.");
104104 // return;
@@ -121,7 +121,7 @@ document.addEventListener("DOMContentLoaded", () => {
121121
122122 updateProgress ( 0 ) ;
123123 updateStatus (
124- `Fetched ${ fileList . length } files\nUser: ${ owner } \nGithub Repository : ${ owner } /${ repo } \nFolder: ${ path } \nSize: ${ (
124+ `Fetched ${ fileList . length } files\nUser: ${ owner } \nGithub Repo : ${ owner } /${ repo } \nFolder: ${ path } \nSize: ${ (
125125 content . size /
126126 1024 /
127127 1024
You can’t perform that action at this time.
0 commit comments