ENV: only check Superenv if necessary. (#451)

This commit is contained in:
Mike McQuaid 2016-07-06 10:43:42 +01:00 committed by GitHub
parent 45b3bfd11a
commit 416e51bca9

View File

@ -4,7 +4,7 @@ require "extend/ENV/std"
require "extend/ENV/super"
def superenv?
Superenv.bin && ARGV.env != "std"
ARGV.env != "std" && Superenv.bin
end
module EnvActivation