Skip to content

Commit

Permalink
Merge main into sweep/convert-main-to-functional-component
Browse files Browse the repository at this point in the history
  • Loading branch information
sweep-ai[bot] authored Sep 20, 2023
2 parents ab6c91f + 75753d0 commit 99de77b
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,10 @@ const EnvGroupArray = ({
}, [values]);
const isKeyOverriding = (key: string) => {
if (!syncedEnvGroups || !values) return false;
return syncedEnvGroups?.some(envGroup =>
(envGroup?.variables) && key in envGroup?.variables || key in envGroup?.secret_variables
);
return syncedEnvGroups?.some(envGroup => {
if (!envGroup || !envGroup.variables) return false;
return key in envGroup.variables || (envGroup.secret_variables && key in envGroup.secret_variables);
});
};

const readFile = (env: string) => {
Expand Down

0 comments on commit 99de77b

Please sign in to comment.