This commit is contained in:
Alan Crosswell
2021-01-21 15:47:56 -05:00
parent 26a3a6cf03
commit 85cdcb2c6b
+9 -1
View File
@@ -86,7 +86,15 @@ export class Git {
return git.commit({ fs, dir, message, author, committer });
}
async clone({ url, dir, ref }: { url: string; dir: string; ref?: string }): Promise<void> {
async clone({
url,
dir,
ref,
}: {
url: string;
dir: string;
ref?: string;
}): Promise<void> {
this.config.logger?.info(`Cloning repo {dir=${dir},url=${url}}`);
return git.clone({
fs,