refactor : solve preid issue

This commit is contained in:
aliberkhsl 2021-07-07 03:33:48 +03:00
parent b388649135
commit f876cd4e32
1 changed files with 3 additions and 1 deletions

View File

@ -73,7 +73,9 @@ Toolkit.run(async (tools) => {
}),
)
) {
preid = foundWord.split('-')[1];
if (foundWord != ''){
preid = foundWord.split('-')[1];
}
version = 'prerelease';
}