Skip to content
This repository has been archived by the owner on Apr 24, 2024. It is now read-only.

Commit

Permalink
Fix Prettier 2.3.0 issues
Browse files Browse the repository at this point in the history
Followup after: adeira/universe#2364

See: https://prettier.io/blog/2021/05/09/2.3.0.html

adeira-source-id: d7ffdf62f7a920ebae8c69e2a2593a71e415c06f
  • Loading branch information
mrtnzlml authored and adeira-github-bot committed May 10, 2021
1 parent 7c6d171 commit f5707f3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/merge.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,8 @@ export default function merge(flowconfigA: string, flowconfigB: string): string
for (const sectionValueKey of Object.keys(sectionValues)) {
const sectionValue = sectionValues[sectionValueKey];
if (KNOWN_LIST_OPTIONS.includes(sectionValueKey)) {
configA[section][sectionValueKey] = configA[section][sectionValueKey].concat(
sectionValue,
);
configA[section][sectionValueKey] =
configA[section][sectionValueKey].concat(sectionValue);
} else {
configA[section][sectionValueKey] = sectionValue;
}
Expand Down

0 comments on commit f5707f3

Please sign in to comment.