Fix linting

This commit is contained in:
Sander Declerck 2026-02-05 09:52:18 +01:00
parent e9799e283f
commit ff16530314
No known key found for this signature in database

View file

@ -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" };
} }