From b935e9c4fa0105d56e198daadbfe1d57d9f0709a Mon Sep 17 00:00:00 2001 From: Jugal Kishore <49350241+crazyuploader@users.noreply.github.com> Date: Sat, 26 Sep 2020 11:59:32 +0530 Subject: [PATCH] Remove an extra slash from URL (#33) * Remove an extra slash * chore: update dist Co-authored-by: jamesgeorge007 --- dist/index.js | 2 +- index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/index.js b/dist/index.js index 9467d8d..c977f97 100644 --- a/dist/index.js +++ b/dist/index.js @@ -1493,7 +1493,7 @@ const COMMIT_MSG = core.getInput("COMMIT_MSG"); const capitalize = (str) => str.slice(0, 1).toUpperCase() + str.slice(1); -const urlPrefix = "https://github.com/"; +const urlPrefix = "https://github.com"; /** * Returns a URL in markdown format for PR's and issues diff --git a/index.js b/index.js index 5ddeda9..bcbfa7f 100644 --- a/index.js +++ b/index.js @@ -18,7 +18,7 @@ const COMMIT_MSG = core.getInput("COMMIT_MSG"); const capitalize = (str) => str.slice(0, 1).toUpperCase() + str.slice(1); -const urlPrefix = "https://github.com/"; +const urlPrefix = "https://github.com"; /** * Returns a URL in markdown format for PR's and issues