Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sanitize result of GetRemoteUrl #36

Merged
merged 2 commits into from
Nov 7, 2023

Conversation

trivialkettle
Copy link
Contributor

If a repository was cloned by git clone https://github.com/oscarotero/keep-a-changelog/ (note the trailing slash) the fetched remote url contains a trailing slash and leads to links with 2 slashes.

If a repository was cloned by `git clone https://github.com/oscarotero/keep-a-changelog/` (note the trailing slash) the fetched remote url contains a trailing slash and leads to links with 2 slashes.
bin.ts Outdated Show resolved Hide resolved
@oscarotero oscarotero merged commit 1ad6223 into oscarotero:master Nov 7, 2023
@oscarotero
Copy link
Owner

thank you!

@trivialkettle trivialkettle deleted the patch-1 branch November 7, 2023 16:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants