Commit 49ef74c
committed
Safeguard against no URLs being available
If fetching a sitemap fails, the URLs array is empty and `reset()`
returns `false`.1 parent 44abfe8 commit 49ef74c
File tree
1 file changed
+5
-0
lines changed- root-files/opt/flownative/sitemap-crawler
1 file changed
+5
-0
lines changedLines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
66 | 71 | | |
67 | 72 | | |
68 | 73 | | |
| |||
0 commit comments