Use default URL
This commit is contained in:
parent
88e216d49b
commit
8b72102ba5
1 changed files with 4 additions and 1 deletions
|
@ -1,5 +1,8 @@
|
|||
const url = (version) => {
|
||||
return 'https://github.com/ueokande/vim-vixen/releases/tag/' + version;
|
||||
if (version) {
|
||||
return 'https://github.com/ueokande/vim-vixen/releases/tag/' + version;
|
||||
}
|
||||
return 'https://github.com/ueokande/vim-vixen/releases/';
|
||||
};
|
||||
|
||||
export { url };
|
||||
|
|
Reference in a new issue