File tree Expand file tree Collapse file tree 2 files changed +17
-2
lines changed
Expand file tree Collapse file tree 2 files changed +17
-2
lines changed Original file line number Diff line number Diff line change @@ -199,6 +199,9 @@ for i in $("${YQ_CMDLINE_READ[@]}" '."content-config".entries[0].dirs|keys|.[]'
199199
200200 if [[ "$config_index_dir " != "$index_dir " ]]; then
201201 gh_print_warning_ln "$0 : warning: invalid index file directory entry: dirs[$i ]:"$'\n'" config_index_dir=\` $config_index_dir \` "$'\n'" index_dir=\` $index_dir \` "
202+
203+ (( stats_failed_inc++ ))
204+
202205 continue
203206 fi
204207
@@ -226,12 +229,20 @@ for i in $("${YQ_CMDLINE_READ[@]}" '."content-config".entries[0].dirs|keys|.[]'
226229 index_file_prev_timestamp
227230
228231 if [[ "$config_file " != "$index_file " ]]; then
229- gh_print_warning_ln "$0 : warning: invalid index file file entry: dirs[$i ].files[$j ]:"$'\n'" config_file=\` $config_file \` "$'\n'" index_file=\` $index_file \` "
232+ gh_print_warning_ln "$0 : warning: invalid index file entry: dirs[$i ].files[$j ]:"$'\n'" config_file=\` $config_file \` "$'\n'" index_file=\` $index_file \` "
233+
234+ (( stats_failed_inc++ ))
235+ (( stats_skipped_inc++ ))
236+
230237 continue
231238 fi
232239
233240 if [[ -z "$config_sched_next_update_timestamp_delta " ]]; then
234- gh_print_warning_ln "$0 : warning: invalid index file file entry: dirs[$i ].files[$j ]:"$'\n'" config_sched_next_update_timestamp_delta=\` $config_sched_next_update_timestamp_delta \` "
241+ gh_print_warning_ln "$0 : warning: invalid index file entry: dirs[$i ].files[$j ]:"$'\n'" config_sched_next_update_timestamp_delta=\` $config_sched_next_update_timestamp_delta \` "
242+
243+ (( stats_failed_inc++ ))
244+ (( stats_skipped_inc++ ))
245+
235246 continue
236247 fi
237248
Original file line number Diff line number Diff line change 1+ 2022.07.22:
2+ * changed: bash/cache/accum-content.sh: register invalid file index entries as failed/skipped entries
3+ * changed: bash/cache/accum-content.sh: register invalid file directory index entries as failed entries
4+
152022.06.18:
26* new: bash/github/accum-stats.sh: added date-time prefix for `prev accum` and `next accum` pipeline log lines
37
You can’t perform that action at this time.
0 commit comments