mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
Fix type issue on buildFolderPath
This commit is contained in:
@@ -5,7 +5,7 @@ export const buildFolderPath = (
|
||||
foldersMap: Record<string, TSecretFolders>,
|
||||
depth: number = 0
|
||||
): string => {
|
||||
if (depth > 20) return;
|
||||
if (depth > 20) return "";
|
||||
if (!folder.parentId) {
|
||||
return depth === 0 ? "/" : "";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user