Skip to content

Commit

Permalink
Remove an extra slash from URL (#33)
Browse files Browse the repository at this point in the history
* Remove an extra slash

* chore: update dist

Co-authored-by: jamesgeorge007 <[email protected]>
  • Loading branch information
crazyuploader and jamesgeorge007 authored Sep 26, 2020
1 parent c064a19 commit b935e9c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b935e9c

Please sign in to comment.