diff --git a/src/install/fetchResolution.ts b/src/install/fetchResolution.ts index 84c8a9ff59..389e16e030 100644 --- a/src/install/fetchResolution.ts +++ b/src/install/fetchResolution.ts @@ -24,8 +24,6 @@ export default async function fetchRes (res: ResolveResult, target: string, opts * clone a git repository. */ async function clone (repo: string, commitId: string, dest: string) { - const args = ['clone', '-b', commitId, repo, dest, '--single-branch'] - gitLogger.debug(`cloning git repository from ${repo}`) await execGit(['clone', repo, dest]) await execGit(['checkout', commitId], {cwd: dest}) }