We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1abac18 commit 7162120Copy full SHA for 7162120
assets/js/app.coffee
@@ -112,7 +112,7 @@ class LicenseSuggestion
112
113
# Try to extract the repository full name from the user input
114
parseUserInput: (userInput) ->
115
- repository = /https?:\/\/github\.com\/([^\/]+)\/([^\/]+)\/?$/.exec userInput
+ repository = /https?:\/\/github\.com\/([^\/]+)\/([^\/]+)/.exec userInput
116
[_, username, project] = repository
117
return username + '/' + project.replace /(\.git)$/, ''
118
0 commit comments