mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-30 16:39:21 +01:00
Fix PostComplete jobs
This commit is contained in:
@@ -114,7 +114,7 @@ namespace Tgstation.Server.Host.Core
|
||||
|
||||
await databaseContext.Save(default).ConfigureAwait(false);
|
||||
|
||||
bool JobErroredOrCancelled() => job.ExceptionDetails != null || job.Cancelled.Value;
|
||||
bool JobErroredOrCancelled() => job.ExceptionDetails != null || job.Cancelled == true;
|
||||
|
||||
//ok so, now it's time for the post commit step if it exists
|
||||
if (!JobErroredOrCancelled() && job.PostComplete != null)
|
||||
|
||||
Reference in New Issue
Block a user