Skip to content

Commit f5c8097

Browse files
committed
fix: Redirect stderr to /dev/null in codeql check
1 parent e2f6c03 commit f5c8097

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/publish-extractor-pack.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ EXTRACTOR_VERSION=$(grep version $EXTRACTOR_INFO | awk '{print $2}')
88

99
LATEST_RELEASE=$(gh release list | head -n 1 | awk '{print $1}' | sed 's/v//')
1010

11-
if which codeql >/dev/null; then
11+
if which codeql >/dev/null 2>&1; then
1212
CODEQL_BINARY="codeql"
1313
elif gh codeql version >/dev/null 2>&1; then
1414
CODEQL_BINARY="gh codeql"

0 commit comments

Comments
 (0)