We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad9b0a5 commit aa661ceCopy full SHA for aa661ce
cls/SourceControl/Git/Utils.cls
@@ -414,7 +414,7 @@ ClassMethod SwitchBranch(targetBranchName As %String) As %Status
414
do ..PrintStreams(errStream, outStream)
415
// Checkout can fail due to unstaged changes
416
set errs = errStream.Read()
417
- if (errs '= "") {
+ if ($find(errs, "error")) {
418
quit $$$ERROR($$$GeneralError, errs)
419
}
420
quit $$$OK
0 commit comments