mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
Remove redundant null check
This commit is contained in:
@@ -322,8 +322,6 @@ const parseKeyUsages = (keyUsages: unknown): CertKeyUsageType[] => {
|
||||
return null;
|
||||
};
|
||||
|
||||
if (!keyUsages) return [];
|
||||
|
||||
let raw: string[];
|
||||
|
||||
if (Array.isArray(keyUsages)) {
|
||||
|
||||
Reference in New Issue
Block a user