diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-04-08 16:05:41 +0200 |
---|---|---|
committer | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-04-08 16:05:41 +0200 |
commit | c0c898b79db48c09158bcc9c335de66b55b5061c (patch) | |
tree | ff725268c63e1e16c36ff573bc8e1f2048d50c81 | |
parent | 383697a8279d956f8fcd45ecd16a1ea097e7a617 (diff) | |
download | bundler-c0c898b79db48c09158bcc9c335de66b55b5061c.tar.gz |
Remove unused constant
Stopped being used in 8b749ee85b04307135d368f05275d50e6cbf76a0.
-rw-r--r-- | lib/bundler/settings.rb | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/lib/bundler/settings.rb b/lib/bundler/settings.rb index bf709f712b..7a14a86ea5 100644 --- a/lib/bundler/settings.rb +++ b/lib/bundler/settings.rb @@ -395,20 +395,6 @@ module Bundler Pathname.new(@root).join("config") if @root end - CONFIG_REGEX = %r{ # rubocop:disable Style/RegexpLiteral - ^ - (BUNDLE_.+):\s # the key - (?: !\s)? # optional exclamation mark found with ruby 1.9.3 - (['"]?) # optional opening quote - (.* # contents of the value - (?: # optionally, up until the next key - (\n(?!BUNDLE).+)* - ) - ) - \2 # matching closing quote - $ - }xo.freeze - def load_config(config_file) return {} if !config_file || ignore_config? SharedHelpers.filesystem_access(config_file, :read) do |file| |