Skip to content

Commit

Permalink
refactor setting of default composer settings properties
Browse files Browse the repository at this point in the history
  • Loading branch information
ejnshtein committed Jun 6, 2022
1 parent a540e1b commit 70ecb8b
Showing 1 changed file with 0 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,16 +67,6 @@ const setupComposerSettings = async (workspaceConfigs) => {
[pharPathKey]: composerPharFormattedPath
};
}

const composerSettingsMissingProperties = Object.entries(defaultComposerSettingsProperties)
.filter(([key]) => !(key in composerSettingsComponent));

if (composerSettingsMissingProperties.length > 0) {
hasChanges = true;
composerSettingsMissingProperties.forEach(([key, value]) => {
composerSettingsComponent[key] = value;
});
}
} else {
hasChanges = true;
workspaceConfigs.push({
Expand Down

0 comments on commit 70ecb8b

Please sign in to comment.