From 4c1250fac0456d1b020750bc877a8a810061011d Mon Sep 17 00:00:00 2001 From: Timo Reymann Date: Wed, 21 Aug 2024 08:17:55 +0200 Subject: [PATCH] chore: Add shellcheck ignores for checks that fail due to stdin change --- src/prompts.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/prompts.sh b/src/prompts.sh index 5f0745d..fc6256d 100644 --- a/src/prompts.sh +++ b/src/prompts.sh @@ -3,6 +3,7 @@ # @brief Inquirer.js inspired prompts _read_stdin() { + # shellcheck disable=SC2162,SC2068 read $@ &2 _read_stdin -r text - echo -n "${text}" + # shellcheck disable=SC2154 + echo -n "${text}" } # @description Show confirm dialog for yes/no