mirror of https://github.com/perkeep/perkeep.git
jsonconfig: remove useless type conversion
Change-Id: I271ca5f619dcd7d6cdee3dc40b68dd6c5eb318d8
This commit is contained in:
parent
b73e1f6269
commit
674deb7280
|
@ -58,7 +58,7 @@ func (jc Obj) obj(key string, optional bool) Obj {
|
|||
jc.appendError(fmt.Errorf("Expected config key %q to be an object, not %T", key, ei))
|
||||
return make(Obj)
|
||||
}
|
||||
return Obj(m)
|
||||
return m
|
||||
}
|
||||
|
||||
func (jc Obj) RequiredString(key string) string {
|
||||
|
|
Loading…
Reference in New Issue