Trim commit before comparing in IsNew()

Fixes the current version appearing as an update. Also fixed error
handling when no update is available, which obviously hadn't previously
been experienced.
This commit is contained in:
Harvey Tindall
2021-03-09 15:52:15 +00:00
parent 7bd8fadf76
commit 30bef15855
4 changed files with 10 additions and 6 deletions

View File

@@ -19,7 +19,7 @@
"dependencies": {
"@ts-stack/markdown": "^1.3.0",
"a17t": "^0.4.0",
"esbuild": "^0.8.56",
"esbuild": "^0.8.57",
"lodash": "^4.17.19",
"mjml": "^4.8.0",
"remixicon": "^2.5.0",