Skip to content

Commit

Permalink
removed pragma that did nothing
Browse files Browse the repository at this point in the history
  • Loading branch information
NielsPilgaard committed Dec 14, 2023
1 parent b9d1cc8 commit 23ce325
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/Pilgaard.BackgroundJobs/BackgroundJobService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,6 @@ internal void ScheduleRecurringJobs(CancellationToken cancellationToken)
}
}

#pragma warning disable IDE0060
/// <summary>
/// Runs the recurring job.
/// </summary>
Expand All @@ -136,7 +135,6 @@ internal void ScheduleRecurringJobs(CancellationToken cancellationToken)
/// <param name="cancellationToken">A <see cref="CancellationToken"/> which can be used to cancel the background job.</param>
internal async Task RunRecurringJobAsync(object sender, EventArgs eventArgs, BackgroundJobRegistration registration, CancellationToken cancellationToken)
=> await RunJobAsync(registration, cancellationToken);
#pragma warning restore IDE0060

/// <summary>
/// Constructs the background job using <see cref="BackgroundJobRegistration.Factory"/> and runs it.
Expand Down

0 comments on commit 23ce325

Please sign in to comment.