fix compilation error

This commit is contained in:
João Moreno 2021-02-03 13:43:03 +01:00
parent 2525f3e276
commit 06c0dbe616
No known key found for this signature in database
GPG key ID: 896B853774D1A575

View file

@ -1482,7 +1482,7 @@ export class Repository implements Disposable {
const maybeRebased = await this.run(Operation.Log, async () => {
try {
const result = await this.repository.run(['log', '--oneline', '--cherry', `${currentBranch ?? ''}...${currentBranch ?? ''}@{upstream}`, '--']);
const result = await this.repository.exec(['log', '--oneline', '--cherry', `${currentBranch ?? ''}...${currentBranch ?? ''}@{upstream}`, '--']);
if (result.exitCode) {
return false;
}