mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-06 04:26:43 +00:00
Update external-migration-fns.ts
This commit is contained in:
@@ -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
|
// secrets
|
||||||
for (const env of Object.keys(parsedJson.envs)) {
|
for (const env of Object.keys(parsedJson.envs)) {
|
||||||
if (!env.includes("|")) {
|
if (!env.includes("|")) {
|
||||||
|
|||||||
Reference in New Issue
Block a user