mirror of
https://github.com/go-sylixos/elvish.git
synced 2024-12-05 03:17:50 +08:00
eval: Fix build...
This commit is contained in:
parent
3f1d7281aa
commit
945f931035
|
@ -24,7 +24,7 @@ func hasEnv(key string) bool {
|
|||
func getEnv(key string) (string, error) {
|
||||
value, ok := os.LookupEnv(key)
|
||||
if !ok {
|
||||
return "", ErrNonExistentEnvVar
|
||||
return "", errNonExistentEnvVar
|
||||
}
|
||||
return value, nil
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user