-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Open
Description
Is your feature request related to a problem? Please describe.
I use the ssh remote format for many of my cloned github repos.
An example of this format is:
git clone [email protected]:kefranabg/readme-md-generator.git
As you can see in this function below...
readme-md-generator/src/project-infos.js
Lines 76 to 82 in f0370c8
/** | |
* Check if repository is a Github repository | |
* | |
* @param {string} repositoryUrl | |
*/ | |
const isGithubRepository = repositoryUrl => | |
!isNil(repositoryUrl) && repositoryUrl.includes(GITHUB_URL) |
Where GITHUB_URL
is defined as
readme-md-generator/src/project-infos.js
Line 14 in f0370c8
const GITHUB_URL = 'https://github.com/' |
The check for if a local project is a github project clone only handles git-over-https.
Describe the solution you'd like
An expansion to treat git-over-ssh on the github url as the same as the equivalent git-over-https
Describe alternatives you've considered
Unsure.
Additional context
...
Metadata
Metadata
Assignees
Labels
No labels