diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2018-05-05 17:48:16 +0900 |
---|---|---|
committer | Shin'ya Ueoka <ueokande@i-beam.org> | 2018-05-05 17:48:16 +0900 |
commit | 8b72102ba5b9b094d774b5bb0bf6c685e00682b5 (patch) | |
tree | 5b9aadd2404240012b7c595657fef57d1c3c30d6 /src/shared/versions/release-notes.js | |
parent | 88e216d49bbbf4312dde678a890733a6e4c4cde8 (diff) |
Use default URL
Diffstat (limited to 'src/shared/versions/release-notes.js')
-rw-r--r-- | src/shared/versions/release-notes.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/shared/versions/release-notes.js b/src/shared/versions/release-notes.js index 9bd17a2..6ef2335 100644 --- a/src/shared/versions/release-notes.js +++ b/src/shared/versions/release-notes.js @@ -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 }; |