Enable unsafe call rule

This commit is contained in:
Henry Mercer
2024-06-13 19:37:56 +01:00
parent d8f549d6d8
commit e7d04fdb41
27 changed files with 135 additions and 129 deletions

View File

@@ -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) {