diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2021-10-08 13:07:07 +0200 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2021-10-09 08:05:46 +0900 |
commit | 91f794b5160e9253410d06b0811451d7db448720 (patch) | |
tree | 4cc48e037cfa28bec8fdd08cb0e60e8d74f09da8 /spec/bundler | |
parent | 991a3aad058fc6b05c7d73fd240b2ad2d8325afd (diff) | |
download | ruby-91f794b5160e9253410d06b0811451d7db448720.tar.gz |
[rubygems/rubygems] I see no harm in this, allow it
https://github.com/rubygems/rubygems/commit/01feb40283
Diffstat (limited to 'spec/bundler')
-rw-r--r-- | spec/bundler/support/builders.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/spec/bundler/support/builders.rb b/spec/bundler/support/builders.rb index 0ece5ba7f6..90e9cbb242 100644 --- a/spec/bundler/support/builders.rb +++ b/spec/bundler/support/builders.rb @@ -554,7 +554,6 @@ module Spec source = options[:source] || "git@#{libpath}" if branch = options[:branch] - raise "You can't specify `master` as the branch" if branch == "master" @context.git("checkout -b #{Shellwords.shellescape(branch)}", libpath) elsif tag = options[:tag] @context.git("tag #{Shellwords.shellescape(tag)}", libpath) |