From d03ff4dd0749871094901949429874265f8d1908 Mon Sep 17 00:00:00 2001 From: pawurb Date: Sat, 25 Nov 2023 21:44:23 +0100 Subject: [PATCH] Silence binary check errors --- scripts/binary_check.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/binary_check.sh b/scripts/binary_check.sh index 725a058..afdc099 100755 --- a/scripts/binary_check.sh +++ b/scripts/binary_check.sh @@ -1,9 +1,9 @@ #! /bin/bash -if ! [[ "$(npm list -g huffc)" =~ "empty" ]]; then +if ! [[ "$(npm list -g huffc 2> /dev/null)" =~ "empty" ]]; then # huffc was installed via npm, return 0x00 echo -n 0x00 -elif [[ "$(yarn global list)" =~ "huffc" ]]; then +elif [[ "$(yarn global list 2> /dev/null)" =~ "huffc" ]]; then # huffc was installed via yarn, return 0x00 echo -n 0x00 else