Skip to content
Snippets Groups Projects
Unverified Commit 91c5dee5 authored by Xu Cheng's avatar Xu Cheng
Browse files

Sandbox.formula?: allow to disable sandbox by user

parent db2e9b83
No related branches found
No related tags found
No related merge requests found
......@@ -13,6 +13,7 @@ class Sandbox
def self.formula?(formula)
return false unless available?
return false if ARGV.no_sandbox?
ARGV.sandbox? || SANDBOXED_TAPS.include?(formula.tap.to_s)
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment