From c43e3d6684e1ae2532d0a72f64dc296ba799e702 Mon Sep 17 00:00:00 2001 From: fud Date: Mon, 21 Dec 2015 16:05:26 +0800 Subject: [PATCH] fix type mismatch error --- config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.go b/config.go index 098ea7cb..bb01e25f 100644 --- a/config.go +++ b/config.go @@ -294,7 +294,7 @@ func (b *beegoAppConfig) String(key string) string { func (b *beegoAppConfig) Strings(key string) []string { if v := b.innerConfig.Strings(BConfig.RunMode + "::" + key); v[0] != "" { - return v[0] + return v } return b.innerConfig.Strings(key) }