Print the CSV header at -n 0, refuse --separator with a record format, refuse a date field in time(), read a bare number template as a format string, and say when no data is loaded
This commit is contained in:
@@ -27,7 +27,7 @@ func (f *Generator) Fake(path string) (string, error) {
|
||||
f.loadShippedAt(segments)
|
||||
n, pins, err := drawCallerPath(f.drawState, &f.root, segments)
|
||||
if err != nil {
|
||||
return "", fmt.Errorf("fejkdata: %s: %w", path, err)
|
||||
return "", f.noDataNote(fmt.Errorf("fejkdata: %s: %w", path, err))
|
||||
}
|
||||
if _, ok := n.(*folder); ok {
|
||||
return "", fmt.Errorf("fejkdata: %s names a folder, not a value", path)
|
||||
|
||||
Reference in New Issue
Block a user