Commit 298f170
fix: don't fail
CSV exports on empty datasets caused errors because of reading the first item for the CSV header.
Additionally, the changes also include the fixes from apify#2734 for `BasicCrawler.exportData`.
---------
Co-authored-by: Jindřich Bär <jindrichbar@gmail.com>exportData calls on empty datasets (apify#3115)1 parent a35376d commit 298f170
File tree
2 files changed
+29
-1
lines changed- packages/basic-crawler/src/internals
- test/core/crawlers
2 files changed
+29
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1240 | 1240 | | |
1241 | 1241 | | |
1242 | 1242 | | |
1243 | | - | |
| 1243 | + | |
| 1244 | + | |
| 1245 | + | |
| 1246 | + | |
| 1247 | + | |
| 1248 | + | |
| 1249 | + | |
| 1250 | + | |
| 1251 | + | |
| 1252 | + | |
| 1253 | + | |
| 1254 | + | |
| 1255 | + | |
| 1256 | + | |
1244 | 1257 | | |
1245 | 1258 | | |
1246 | 1259 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1716 | 1716 | | |
1717 | 1717 | | |
1718 | 1718 | | |
| 1719 | + | |
| 1720 | + | |
| 1721 | + | |
| 1722 | + | |
| 1723 | + | |
| 1724 | + | |
| 1725 | + | |
| 1726 | + | |
| 1727 | + | |
| 1728 | + | |
| 1729 | + | |
| 1730 | + | |
| 1731 | + | |
| 1732 | + | |
| 1733 | + | |
1719 | 1734 | | |
1720 | 1735 | | |
1721 | 1736 | | |
| |||
0 commit comments