mirror of
https://github.com/desktop/desktop
synced 2024-08-25 03:07:41 +00:00
Merge pull request #13837 from desktop/handle-128-exit-code
Add 128 again as successful code for `git remote` commands
This commit is contained in:
commit
e96d8188e5
|
@ -45,7 +45,7 @@ export async function removeRemote(
|
|||
name: string
|
||||
): Promise<void> {
|
||||
const options = {
|
||||
successExitCodes: new Set([0, 2]),
|
||||
successExitCodes: new Set([0, 2, 128]),
|
||||
}
|
||||
|
||||
await git(
|
||||
|
@ -79,7 +79,7 @@ export async function getRemoteURL(
|
|||
['remote', 'get-url', name],
|
||||
repository.path,
|
||||
'getRemoteURL',
|
||||
{ successExitCodes: new Set([0, 2]) }
|
||||
{ successExitCodes: new Set([0, 2, 128]) }
|
||||
)
|
||||
|
||||
if (result.exitCode !== 0) {
|
||||
|
|
Loading…
Reference in a new issue