fix: fix incorrect nil return value
Signed-off-by: cangqiaoyuzhuo <850072022@qq.com>
This commit is contained in:
parent
5da7cabb59
commit
5e9c913b47
@ -35,7 +35,7 @@ func bindataRead(data []byte, name string) ([]byte, error) {
|
||||
return nil, fmt.Errorf("Read %q: %v", name, err)
|
||||
}
|
||||
if clErr != nil {
|
||||
return nil, err
|
||||
return nil, clErr
|
||||
}
|
||||
|
||||
return buf.Bytes(), nil
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user