mplewis / csvtomd

📝📊 Convert your CSV files into Markdown tables.
MIT License
655 stars 90 forks source link

Handle column number discrepancy more gracefully #4

Closed murphyke closed 9 years ago

murphyke commented 9 years ago

If not all rows have the same number of columns, exit with an error message and status. This is only a mild improvement over the existing exception that happens. Ideally, the code should report the number of the first line that doesn't have the same number of columns as the initial line.

mplewis commented 9 years ago

Hey, this looks like a great start! It's already much better than the current state. Thanks for the PR.