From db0f0664d750065f1831a11d3abe428808c97d15 Mon Sep 17 00:00:00 2001 From: pvincent Date: Wed, 29 Jul 2026 17:57:09 +0400 Subject: [PATCH] 100% test --- poc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/poc b/poc index a817402..45f3473 100755 --- a/poc +++ b/poc @@ -308,6 +308,10 @@ function on_exit { miaou_debug "" fi + elif [[ -v failure_type && "$failure_type" == 'COMMAND_NOT_FOUND' ]]; then + unset 'tmp_error[-1]' 'tmp_error[-1]' + add_miaou_error "${BASH_SOURCE[1]}" "${BASH_LINENO[0]}" "${failure_code}" "${failure_type}" "${failure_payload}" + miaou_debug '' elif [[ ! -v failure_type ]]; then if [[ $code -gt 0 && ${#tmp_error[@]} -gt 0 ]]; then last_error="${tmp_error[-1]}"