mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-30 16:39:21 +01:00
Minor cleanups
This commit is contained in:
@@ -19,7 +19,7 @@ namespace Tgstation.Server.Api.Models
|
||||
.GetField(errorCode.ToString())
|
||||
?.GetCustomAttributes(typeof(DescriptionAttribute), false);
|
||||
|
||||
return attributes.FirstOrDefault()?.Description;
|
||||
return attributes?.FirstOrDefault()?.Description;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -129,9 +129,9 @@ namespace Tgstation.Server.Host.Watchdog
|
||||
|
||||
var arguments = new List<string>
|
||||
{
|
||||
'"' + assemblyPath + '"',
|
||||
'"' + updateDirectory + '"',
|
||||
'"' + watchdogVersion + '"'
|
||||
$"\"{assemblyPath}\"",
|
||||
$"\"{updateDirectory}\"",
|
||||
$"\"{watchdogVersion}\""
|
||||
};
|
||||
|
||||
if (args.Any(x => x.Equals("--attach-host-debugger", StringComparison.OrdinalIgnoreCase)))
|
||||
|
||||
Reference in New Issue
Block a user