pass noCheckout without defaulting to false

Signed-off-by: Johan Haals <johan.haals@gmail.com>
This commit is contained in:
Johan Haals
2022-01-04 09:57:31 +01:00
parent 330d71f426
commit b46dea84a9
2 changed files with 1 additions and 2 deletions
@@ -105,7 +105,6 @@ describe('Git', () => {
dir,
singleBranch: true,
depth: 1,
noCheckout: false,
onProgress: expect.any(Function),
headers: {
'user-agent': 'git/@isomorphic-git',
+1 -1
View File
@@ -94,7 +94,7 @@ export class Git {
ref,
singleBranch: true,
depth: depth ?? 1,
noCheckout: noCheckout ?? false,
noCheckout,
onProgress: this.onProgressHandler(),
headers: {
'user-agent': 'git/@isomorphic-git',