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 @@ -208,17 +208,17 @@ struct GitArchiveInputScheme : InputScheme
208208 {
209209 auto owner = getStrAttr (input.attrs , " owner" );
210210 auto repo = getStrAttr (input.attrs , " repo" );
211- auto urlGen = fmt ( " %s/%s/%s" , host, owner, repo);
212- return makeHeadersWithAuthTokens (settings, host, urlGen );
211+ auto hostAndPath = fmt ( " %s/%s/%s" , host, owner, repo);
212+ return makeHeadersWithAuthTokens (settings, host, hostAndPath );
213213 }
214214
215215 Headers makeHeadersWithAuthTokens (
216216 const fetchers::Settings & settings,
217217 const std::string & host,
218- const std::string & url ) const
218+ const std::string & hostAndPath ) const
219219 {
220220 Headers headers;
221- auto accessToken = getAccessToken (settings, host, url );
221+ auto accessToken = getAccessToken (settings, host, hostAndPath );
222222 if (accessToken) {
223223 auto hdr = accessHeaderFromToken (*accessToken);
224224 if (hdr)
You can’t perform that action at this time.
0 commit comments