[ISSUE-18] backport still open pull requests

This commit is contained in:
Andrea Lamparelli 2023-01-04 14:50:28 +01:00
parent ec18e04885
commit bdbcd7e90c
14 changed files with 1203 additions and 41 deletions

View file

@ -95,6 +95,7 @@ export default class GitCLIService {
* @param remote [optional] the remote to fetch, by default origin
*/
async fetch(cwd: string, branch: string, remote = "origin"): Promise<void> {
this.logger.info(`Fetching ${remote} ${branch}.`);
await this.git(cwd).fetch(remote, branch, ["--quiet"]);
}