update dependencies and allow dots in git user and repo names

This commit is contained in:
2017-02-19 14:09:39 +01:00
parent a57bd446d0
commit a412285862
7 changed files with 500 additions and 151 deletions

View File

@ -25,7 +25,7 @@ export class GitRepo {
* ------------------ helpers ------------------- *
* ---------------------------------------------- */
let gitRegex = function(stringArg:string){
let regexString = /([a-zA-Z0-9\-\.]*)(?:\/|\:)([a-zA-Z0-9\-]*)(?:\/)([a-zA-Z0-9\-]*)(?:\.git)/
let regexString = /([a-zA-Z0-9\-\.]*)(?:\/|\:)([a-zA-Z0-9\-\.]*)(?:\/)([a-zA-Z0-9\-\.]*)(?:\.git)/
let regexMatches = regexString.exec(stringArg)
return regexMatches
}