From 20a3690981a62b477ce0f5eb287b8570ebd15ef7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torbj=C3=B6rn=20Klatt?= Date: Wed, 13 Jan 2016 21:03:02 +0100 Subject: [PATCH] fix breakage: git config call Fixes #21. --- bin/jgd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/jgd b/bin/jgd index a310f07..52c1acf 100755 --- a/bin/jgd +++ b/bin/jgd @@ -15,7 +15,7 @@ end branch = opts[:branch] fail 'branch can\'t be empty' if branch.empty? url = opts[:url] -url = `git config --get remote.origin.url` if url.empty? +url = `git config --get remote.origin.url`.strip if url.empty? spec = Gem::Specification.find_by_name('jgd') root = spec.gem_dir