fix(updater): fix input check on non-interactive runs
fix(updater): fix input check on non-interactive runs

Reference: https://www.zsh.org/mla/users/2022/msg00067.html

tekniklr/oh-my-zsh,tekniklr/oh-my-zsh