mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2026-04-24 22:55:21 -04:00
Reformat and apply Stylecop rules
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
using NLog.Config;
|
||||
using NLog;
|
||||
using NLog;
|
||||
using NLog.Config;
|
||||
using NLog.Targets;
|
||||
using NzbDrone.Core.Lifecycle;
|
||||
using NzbDrone.Core.Messaging.Commands;
|
||||
@@ -23,9 +23,16 @@ namespace NzbDrone.Core.ProgressMessaging
|
||||
{
|
||||
var command = ProgressMessageContext.CommandModel;
|
||||
|
||||
if (!IsClientMessage(logEvent, command)) return;
|
||||
if (!IsClientMessage(logEvent, command))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
if (!ProgressMessageContext.LockReentrancy())
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
if (!ProgressMessageContext.LockReentrancy()) return;
|
||||
try
|
||||
{
|
||||
_commandQueueManager.SetMessage(command, logEvent.FormattedMessage);
|
||||
|
||||
Reference in New Issue
Block a user