File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -11,14 +11,14 @@ class Generator {
1111 private addWatchFile : ( path : URL | string ) => void ,
1212 ) { }
1313
14- // Fetch file from main lychee repository at the currently pinned tag
14+ // Fetch file contents from main lychee repository at the currently pinned tag
1515 private async fetchFromRepository ( filePath : string ) {
1616 this . logger . info ( `Fetching ${ filePath } from git tag ${ LYCHEE_VERSION } ` ) ;
1717 const url = `https://raw.githubusercontent.com/lycheeverse/lychee/refs/tags/${ LYCHEE_VERSION } /${ filePath } ` ;
1818
19- const readme = await fetch ( url ) ;
20- assert ( readme . ok , `${ readme . status } when fetching ${ url } ` ) ;
21- return readme . text ( ) ;
19+ const response = await fetch ( url ) ;
20+ assert ( response . ok , `Encountered ${ response . status } when fetching ${ url } ` ) ;
21+ return response . text ( ) ;
2222 }
2323
2424 private generateOutputPath ( path : string ) {
You can’t perform that action at this time.
0 commit comments