Skip to content

Commit

Permalink
Remove the 'git' reqOpt after reading so it doesn't propagate through… (
Browse files Browse the repository at this point in the history
#419)

* Remove the 'git' reqOpt after reading so it doesn't propagate through to Request-util

* cleanup

---------

Co-authored-by: Paul Carroll <[email protected]>
  • Loading branch information
adamkingit and carrolp authored May 1, 2023
1 parent a91ccf3 commit 0323e87
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/RemoteResourceGitController.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ module.exports = class RemoteResourceGitController extends BaseDownloadControlle
opt.simple = false;
opt.resolveWithFullResponse = true;

delete opt.git; // `git` is not an expected request option

return await RequestLib.doRequest(opt, this.log);
}

Expand Down

0 comments on commit 0323e87

Please sign in to comment.