Skip to content

Commit

Permalink
Update external-migration-fns.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielHougaard committed Oct 15, 2024
1 parent d61f36b commit 5d5da97
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,13 +89,6 @@ export const parseEnvKeyDataFn = async (decryptedJson: string): Promise<Infisica
});
}

// make sure that all the projectIds in the enviroments are present in the projects
for (const env of infisicalImportData.environments) {
if (!infisicalImportData.projects.find((project) => project.id === env.projectId)) {
infisicalImportData.projects.push({ name: "Unknown", id: env.projectId });
}
}

// secrets
for (const env of Object.keys(parsedJson.envs)) {
if (!env.includes("|")) {
Expand Down

0 comments on commit 5d5da97

Please sign in to comment.