summaryrefslogtreecommitdiff
path: root/src/SMAPI.Installer/Framework/InstallerContext.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/SMAPI.Installer/Framework/InstallerContext.cs')
-rw-r--r--src/SMAPI.Installer/Framework/InstallerContext.cs4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/SMAPI.Installer/Framework/InstallerContext.cs b/src/SMAPI.Installer/Framework/InstallerContext.cs
index 23d5b17c..a2c63dd8 100644
--- a/src/SMAPI.Installer/Framework/InstallerContext.cs
+++ b/src/SMAPI.Installer/Framework/InstallerContext.cs
@@ -1,5 +1,3 @@
-#nullable disable
-
using System.IO;
using StardewModdingAPI.Toolkit;
using StardewModdingAPI.Toolkit.Framework.GameScanning;
@@ -46,7 +44,7 @@ namespace StardewModdingAPI.Installer.Framework
/// <summary>Get the installer's version number.</summary>
public ISemanticVersion GetInstallerVersion()
{
- var raw = this.GetType().Assembly.GetName().Version;
+ var raw = this.GetType().Assembly.GetName().Version!;
return new SemanticVersion(raw);
}