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 4efba30 commit 20a3690Copy full SHA for 20a3690
bin/jgd
@@ -15,7 +15,7 @@ end
15
branch = opts[:branch]
16
fail 'branch can\'t be empty' if branch.empty?
17
url = opts[:url]
18
-url = `git config --get remote.origin.url` if url.empty?
+url = `git config --get remote.origin.url`.strip if url.empty?
19
20
spec = Gem::Specification.find_by_name('jgd')
21
root = spec.gem_dir
0 commit comments