is_required is not required for shared envs
This commit is contained in:
parent
ffd28de949
commit
946ab81d87
1 changed files with 3 additions and 0 deletions
|
|
@ -88,6 +88,9 @@ public function serialize()
|
|||
public function lock()
|
||||
{
|
||||
$this->env->is_shown_once = true;
|
||||
if ($this->isSharedVariable) {
|
||||
unset($this->env->is_required);
|
||||
}
|
||||
$this->serialize();
|
||||
$this->env->save();
|
||||
$this->checkEnvs();
|
||||
|
|
|
|||
Loading…
Reference in a new issue