Skip to content

Commit 337e017

Browse files
committed
Drop a redundant slash
1 parent dea79fc commit 337e017

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/notes-github-pr.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def git(*cmd, repo_path: nil)
9292

9393
Dir.mktmpdir do |workdir|
9494
depth = Git.rev_list("#{oldrev}..#{newrev}", repo_path: repo_path).size + 1
95-
system('git', 'clone', "--depth=#{depth}", "--branch=#{branch}", "file:///#{repo_path}", workdir)
95+
system('git', 'clone', "--depth=#{depth}", "--branch=#{branch}", "file://#{repo_path}", workdir)
9696
Dir.chdir(workdir)
9797
system('git', 'fetch', 'origin', 'refs/notes/commits:refs/notes/commits')
9898

0 commit comments

Comments
 (0)