diff --git a/Support/lib/git_manager.rb b/Support/lib/git_manager.rb index 5f9c172..6ae3d2d 100644 --- a/Support/lib/git_manager.rb +++ b/Support/lib/git_manager.rb @@ -54,7 +54,7 @@ def github_url_for_project(github_remote=nil) end end - def file_to_github_url(github_remote, branch='master', file=nil) + def file_to_github_url(github_remote, branch=nil, file=nil) file ||= target_file branch ||= @git.current_branch repo = repo_for_remote(github_remote)