Merge remote-tracking branch 'krobelus/no-env-var'

This commit is contained in:
Maxime Coste 2021-08-17 08:27:49 +10:00
commit e8e535e1cf

View File

@ -389,7 +389,7 @@ Vector<String> ShellManager::get_val(StringView name, const Context& context) co
});
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);
}