mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-03 17:26:07 +00:00
Update secret-folder-service.ts
This commit is contained in:
@@ -135,8 +135,7 @@ export const secretFolderServiceFactory = ({
|
|||||||
const newFolders: TSecretFoldersInsert[] = [];
|
const newFolders: TSecretFoldersInsert[] = [];
|
||||||
|
|
||||||
// process each segment sequentially
|
// process each segment sequentially
|
||||||
for (const segment of missingSegments) {
|
for await (const segment of missingSegments) {
|
||||||
// eslint-disable-next-line no-await-in-loop
|
|
||||||
const existingSegment = await folderDAL.findOne(
|
const existingSegment = await folderDAL.findOne(
|
||||||
{
|
{
|
||||||
name: segment,
|
name: segment,
|
||||||
|
|||||||
Reference in New Issue
Block a user