pass noCheckout without defaulting to false
Signed-off-by: Johan Haals <johan.haals@gmail.com>
This commit is contained in:
@@ -105,7 +105,6 @@ describe('Git', () => {
|
||||
dir,
|
||||
singleBranch: true,
|
||||
depth: 1,
|
||||
noCheckout: false,
|
||||
onProgress: expect.any(Function),
|
||||
headers: {
|
||||
'user-agent': 'git/@isomorphic-git',
|
||||
|
||||
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user