Fixed github name regex so specs run
This commit is contained in:
committed by
Joshua Nichols
parent
de0b14bbd6
commit
78e952c2e4
@@ -24,7 +24,7 @@ class Homesick < Thor
|
|||||||
self.shell = Homesick::Shell.new
|
self.shell = Homesick::Shell.new
|
||||||
end
|
end
|
||||||
|
|
||||||
GITHUB_NAME_REPO_PATTERN = /([A-Za-z_-]+)\/([A-Za-z_-]+)/
|
GITHUB_NAME_REPO_PATTERN = /\A([A-Za-z_-]+)\/([A-Za-z_-]+)\Z/
|
||||||
|
|
||||||
desc "clone URI", "Clone +uri+ as a castle for homesick"
|
desc "clone URI", "Clone +uri+ as a castle for homesick"
|
||||||
def clone(uri)
|
def clone(uri)
|
||||||
|
|||||||
Reference in New Issue
Block a user