mirror of
https://github.com/go-sylixos/elvish.git
synced 2024-12-14 11:17:52 +08:00
Fix statusOk
This commit is contained in:
parent
4830d4818f
commit
ad37ece4e8
|
@ -34,11 +34,11 @@ type evaluatorEphemeral struct {
|
|||
|
||||
func statusOk(vs []Value) bool {
|
||||
for _, v := range vs {
|
||||
v, ok := v.(*String)
|
||||
v, ok := v.(String)
|
||||
if !ok {
|
||||
return false
|
||||
}
|
||||
if string(*v) != "" {
|
||||
if string(v) != "" {
|
||||
return false
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user