summaryrefslogtreecommitdiff
path: root/src/SMAPI.Web/Framework
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2020-02-20 21:32:55 -0500
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2020-02-20 21:32:55 -0500
commitdd27b3bf35d01e4fd0703e47d538bd8cec03652b (patch)
tree3f3b00c4c1b9cb5fafcfc975e8de7e999b1dc36b /src/SMAPI.Web/Framework
parent6a9bf10a81f4557d44668666117d99440d99d873 (diff)
downloadSMAPI-dd27b3bf35d01e4fd0703e47d538bd8cec03652b.tar.gz
SMAPI-dd27b3bf35d01e4fd0703e47d538bd8cec03652b.tar.bz2
SMAPI-dd27b3bf35d01e4fd0703e47d538bd8cec03652b.zip
fix parsing four-part versions from the update-check API
Diffstat (limited to 'src/SMAPI.Web/Framework')
-rw-r--r--src/SMAPI.Web/Framework/VersionConstraint.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SMAPI.Web/Framework/VersionConstraint.cs b/src/SMAPI.Web/Framework/VersionConstraint.cs
index 72f5ef84..f0c57c41 100644
--- a/src/SMAPI.Web/Framework/VersionConstraint.cs
+++ b/src/SMAPI.Web/Framework/VersionConstraint.cs
@@ -28,7 +28,7 @@ namespace StardewModdingAPI.Web.Framework
return
values.TryGetValue(routeKey, out object routeValue)
&& routeValue is string routeStr
- && SemanticVersion.TryParseNonStandard(routeStr, out _);
+ && SemanticVersion.TryParse(routeStr, allowNonStandard: true, out _);
}
}
}