Refurbish args in virtualenv (#600)
Instead of adding additional lines to formula.rb: https://git.io/vKxxh just turn on argument refurbishment for any formula that creates a virtualenv. cf Homebrew/ruby-macho#50, Homebrew/homebrew-core#1663
This commit is contained in:
parent
3469f177f0
commit
209d9e8a6e
@ -119,6 +119,7 @@ module Language
|
|||||||
# @param formula [Formula] the active Formula
|
# @param formula [Formula] the active Formula
|
||||||
# @return [Virtualenv] a {Virtualenv} instance
|
# @return [Virtualenv] a {Virtualenv} instance
|
||||||
def virtualenv_create(venv_root, python = "python", formula = self)
|
def virtualenv_create(venv_root, python = "python", formula = self)
|
||||||
|
ENV.refurbish_args
|
||||||
venv = Virtualenv.new formula, venv_root, python
|
venv = Virtualenv.new formula, venv_root, python
|
||||||
venv.create
|
venv.create
|
||||||
venv
|
venv
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user