From 8b72102ba5b9b094d774b5bb0bf6c685e00682b5 Mon Sep 17 00:00:00 2001 From: Shin'ya Ueoka Date: Sat, 5 May 2018 17:48:16 +0900 Subject: Use default URL --- src/shared/versions/release-notes.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/shared/versions/release-notes.js') 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 }; -- cgit v1.2.3