Skip to content

refactor: remove dead _prepend_row code in CSV conversion path#17

Merged
Coding-Dev-Tools merged 1 commit into
masterfrom
Openclaw/datamorph/cleanup-dead-code-csv-field-order
May 18, 2026
Merged

refactor: remove dead _prepend_row code in CSV conversion path#17
Coding-Dev-Tools merged 1 commit into
masterfrom
Openclaw/datamorph/cleanup-dead-code-csv-field-order

Conversation

@Coding-Dev-Tools
Copy link
Copy Markdown
Owner

The convert() function consumed one row via reader.read_stream() to get
CSV field names, then used _prepend_row to re-attach it — but the
result was never used (the file is re-read from scratch for the actual
conversion). Removed the unused _prepend_row() utility and the dead
re-attachment line. The field-order detection itself is preserved.

The convert() function consumed one row via reader.read_stream() to get
CSV field names, then used _prepend_row to re-attach it — but the
result was never used (the file is re-read from scratch for the actual
conversion). Removed the unused _prepend_row() utility and the dead
re-attachment line. The field-order detection itself is preserved.
@Coding-Dev-Tools Coding-Dev-Tools merged commit b16c73d into master May 18, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant