Skip to content

Commit 02b18bf

Browse files
committed
Fix operator order
1 parent 54c5d6e commit 02b18bf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cls/SourceControl/Git/Utils.cls

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3100,8 +3100,8 @@ ClassMethod SetConfiguredRemote(url) As %String
31003100
{
31013101
do ..GetConfiguredRemote(.remoteExists)
31023102
set returnCode = $select(
3103-
remoteExists&&(url=""): ##class(SourceControl.Git.Utils).RunGitCommandWithInput("remote",,.errStream,.outStream,"remove","origin"),
3104-
remoteExists&&(url'=""): ##class(SourceControl.Git.Utils).RunGitCommandWithInput("remote",,.errStream,.outStream,"set-url","origin",url),
3103+
(remoteExists&&(url="")): ##class(SourceControl.Git.Utils).RunGitCommandWithInput("remote",,.errStream,.outStream,"remove","origin"),
3104+
(remoteExists&&(url'="")): ##class(SourceControl.Git.Utils).RunGitCommandWithInput("remote",,.errStream,.outStream,"set-url","origin",url),
31053105
(('remoteExists)&&(url'="")): ##class(SourceControl.Git.Utils).RunGitCommandWithInput("remote",,.errStream,.outStream,"add","origin",url),
31063106
1: -1)
31073107
if (returnCode = -1) {

0 commit comments

Comments
 (0)