Removes the slice as the v prefix has been removed

Addresses:
#11353
This commit is contained in:
FlaminWrap 2023-09-08 21:28:25 +01:00
parent b4e8228969
commit 33be2d6c96
1 changed files with 1 additions and 2 deletions

View File

@ -63,8 +63,7 @@
)
const githubResponse = await githubCheck.json()
//Get tag and remove the v infront of the tage name e.g. v1.0.0 is 1.0.0
githubVersion = githubResponse.tag_name.slice(1)
githubVersion = githubResponse.tag_name
//Get the release date and output it in the local time format
githubPublishedDate = new Date(githubResponse.published_at)