Skip to content

Commit

Permalink
fix open /actions and /releases when make:release
Browse files Browse the repository at this point in the history
  • Loading branch information
maykbrito committed Mar 6, 2022
1 parent 15a7c62 commit 5584111
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion bin/modules/release/utils/extractors.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
exports.extractOwnerAndRepoFromGitRemoteURL = url => {
return url?.replace(/^[email protected]:|.git$/gims, '').trim()
return url
?.replace(/^[email protected]:|.git$/gims, '')
?.replace(/^https:\/\/github.com\/|.git$/gims, '')
?.trim()
}

0 comments on commit 5584111

Please sign in to comment.