From 712423ae10321dde0a6664a67389b5ca397e3311 Mon Sep 17 00:00:00 2001 From: LangLangbart <92653266+LangLangBart@users.noreply.github.com> Date: Sat, 9 Mar 2024 11:08:48 +0100 Subject: [PATCH] fix: correct variable assignment order --- gh-notify | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gh-notify b/gh-notify index e7f4693..4ec14b7 100755 --- a/gh-notify +++ b/gh-notify @@ -418,7 +418,7 @@ select_notif() { # 3rd line: the selected line when the user pressed the key expected_key="$(sed '1d;3d' <<<"$output")" selected_line="$(sed '1d;2d' <<<"$output")" - IFS=' ' read -r _ thread_id thread_state _ repo_full_name _ _ _ _ type _ num _ <<<"$selected_line" + IFS=' ' read -r _ thread_id thread_state _ repo_full_name _ _ _ _ type num _ <<<"$selected_line" [[ -z $type ]] && exit 0 case "$expected_key" in esc)