mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-19 17:24:26 +08:00
fix npe
This commit is contained in:
@@ -125,7 +125,7 @@ func createNewCsvFileDataTable(ctx core.Context, reader io.Reader, separator run
|
|||||||
return nil, errs.ErrInvalidCSVFile
|
return nil, errs.ErrInvalidCSVFile
|
||||||
}
|
}
|
||||||
|
|
||||||
if len(items) == 0 && items[0] == "" {
|
if len(items) == 1 && items[0] == "" {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user