mirror of
https://github.com/github/codeql-action.git
synced 2025-12-30 19:20:08 +08:00
Enable unsafe call rule
This commit is contained in:
@@ -145,7 +145,9 @@ export async function checkInstallPython311(
|
||||
|
||||
// For MacOS runners: runs `csrutil status` to determine whether System
|
||||
// Integrity Protection is enabled.
|
||||
export async function isSipEnabled(logger): Promise<boolean | undefined> {
|
||||
export async function isSipEnabled(
|
||||
logger: Logger,
|
||||
): Promise<boolean | undefined> {
|
||||
try {
|
||||
const sipStatusOutput = await exec.getExecOutput("csrutil status");
|
||||
if (sipStatusOutput.exitCode === 0) {
|
||||
|
||||
Reference in New Issue
Block a user