aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/shared/versions/release-notes.js5
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 };