You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: bin/codeql-init
+7Lines changed: 7 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -83,6 +83,13 @@ for CODEQL_LANGUAGE in ${CODEQL_LANGUAGES//,/ } ; do
83
83
84
84
if [ "$CODEQL_TRACING"="1" ] && [[ "$CODEQL_LANGUAGE"=~ ^(cpp|csharp|java|go)$ ]];then
85
85
debug "Swap to a init command and add --begin-tracing"
86
+
87
+
# check if the OS is Mac
88
+
if [[ "$OSTYPE"=="darwin"* ]];then
89
+
warning "Tracing on MacOS can have issues with the CodeQL CLI"
90
+
warning "See https://docs.github.com/en/enterprise-cloud@latest/code-security/codeql-cli/getting-started-with-the-codeql-cli/preparing-your-code-for-codeql-analysis#using-indirect-build-tracing"
0 commit comments