Skip to content

Commit

Permalink
[cascading] from release/11.1.0-rc to main (#2072)
Browse files Browse the repository at this point in the history
<!--
{"currentBranch":"release/11.1.0-rc","targetBranch":"main","bypassReviewers":true,"isConflicting":false}
-->

## Cascading from release/11.1.0-rc to main

The configuration requests the cascading to bypass reviewer in case of
CI success.
To not bypass the reviewing process, please check the following
checkbox:

- [ ] <!-- !cancel bypass! --> 🚫 stop reviewing process
bypass for this Pull Request

---

<small>This Pull Request has been generated with ❤️ by the
[Otter](https://github.com/AmadeusITGroup/otter) cascading tool.</small>
  • Loading branch information
matthieu-crouzet authored Aug 19, 2024
2 parents 67a15d5 + 396c89b commit e7896eb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export interface MigrationStylingData {
* Returns an array of styling metadata from a metadata file.
* @param content Content of a migration metadata file
*/
const getCssVariablesArray = (content: CssMetadata): CssVariable[] => Object.values(content.variables);
const getCssVariablesArray = (content: CssMetadata): CssVariable[] => Object.keys(content.variables).map((name) => ({...content.variables[name], name }));

const getCssVariableName = (cssVariable: CssVariable) => cssVariable.name;

Expand Down

0 comments on commit e7896eb

Please sign in to comment.