Merge remote-tracking branch 'krobelus/no-env-var'
This commit is contained in:
commit
e8e535e1cf
|
@ -389,7 +389,7 @@ Vector<String> ShellManager::get_val(StringView name, const Context& context) co
|
||||||
});
|
});
|
||||||
|
|
||||||
if (env_var == m_env_vars.end())
|
if (env_var == m_env_vars.end())
|
||||||
throw runtime_error("no such env var: " + name);
|
throw runtime_error("no such variable: " + name);
|
||||||
|
|
||||||
return env_var->func(name, context);
|
return env_var->func(name, context);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user