sprints and audit work
This commit is contained in:
@@ -223,26 +223,16 @@ internal static class CliErrorRenderer
|
||||
return false;
|
||||
}
|
||||
|
||||
<<<<<<< HEAD
|
||||
string? code1 = null;
|
||||
string? code2 = null;
|
||||
|
||||
if ((!error.Metadata.TryGetValue("reason_code", out code1) || string.IsNullOrWhiteSpace(code1)) &&
|
||||
(!error.Metadata.TryGetValue("reasonCode", out code2) || string.IsNullOrWhiteSpace(code2)))
|
||||
=======
|
||||
string? tempCode;
|
||||
if ((!error.Metadata.TryGetValue("reason_code", out tempCode) || string.IsNullOrWhiteSpace(tempCode)) &&
|
||||
(!error.Metadata.TryGetValue("reasonCode", out tempCode) || string.IsNullOrWhiteSpace(tempCode)))
|
||||
>>>>>>> 47890273170663b2236a1eb995d218fe5de6b11a
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
<<<<<<< HEAD
|
||||
reasonCode = OfflineKitReasonCodes.Normalize(code1 ?? code2 ?? "") ?? "";
|
||||
=======
|
||||
reasonCode = OfflineKitReasonCodes.Normalize(tempCode!) ?? "";
|
||||
>>>>>>> 47890273170663b2236a1eb995d218fe5de6b11a
|
||||
return reasonCode.Length > 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user