refactor
This commit is contained in:
parent
853b90a30f
commit
8422474bcd
|
@ -159,9 +159,7 @@ func (f *FakeManager) IsValidFaker(name string) bool {
|
|||
return true
|
||||
}
|
||||
|
||||
if _, exists := f.Fakers[name]; exists {
|
||||
return true
|
||||
}
|
||||
_, exists := f.Fakers[name]
|
||||
|
||||
return false
|
||||
return exists
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue