From 4910c1feb81b13951e6b263aeee94a532250ec2d Mon Sep 17 00:00:00 2001 From: Cyberboss Date: Sat, 11 Jan 2020 21:26:54 -0500 Subject: [PATCH] Reduce code complexity --- src/Tgstation.Server.Host/Controllers/ByondController.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Tgstation.Server.Host/Controllers/ByondController.cs b/src/Tgstation.Server.Host/Controllers/ByondController.cs index 030d06e4ba..52872441b6 100644 --- a/src/Tgstation.Server.Host/Controllers/ByondController.cs +++ b/src/Tgstation.Server.Host/Controllers/ByondController.cs @@ -2,7 +2,6 @@ using Microsoft.Extensions.Logging; using System; using System.Collections.Generic; -using System.Globalization; using System.Linq; using System.Threading; using System.Threading.Tasks; @@ -113,7 +112,7 @@ namespace Tgstation.Server.Host.Controllers // run the install through the job manager var job = new Models.Job { - Description = String.Format(CultureInfo.InvariantCulture, "Install BYOND version {0}", installingVersion), + Description = $"Install BYOND version {installingVersion}", StartedBy = AuthenticationContext.User, CancelRightsType = RightsType.Byond, CancelRight = (ulong)ByondRights.CancelInstall,