mirror of
https://github.com/AikidoSec/safe-chain.git
synced 2026-05-26 12:10:49 +00:00
Fix linting
This commit is contained in:
parent
e9799e283f
commit
ff16530314
1 changed files with 1 additions and 1 deletions
|
|
@ -269,7 +269,7 @@ export function validatePowerShellExecutionPolicy(shellExecutableName) {
|
||||||
isValid: acceptablePolicies.includes(policy),
|
isValid: acceptablePolicies.includes(policy),
|
||||||
policy: policy,
|
policy: policy,
|
||||||
};
|
};
|
||||||
} catch (/** @type {any} */ error) {
|
} catch {
|
||||||
// If we can't check the policy, return false to be safe
|
// If we can't check the policy, return false to be safe
|
||||||
return { isValid: false, policy: "Unknown" };
|
return { isValid: false, policy: "Unknown" };
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue