Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove duplicated mapping from clang-format config #160

Merged
merged 1 commit into from
Oct 15, 2024

Conversation

tomknig
Copy link
Contributor

@tomknig tomknig commented Oct 7, 2024

The .clang-format config contained the mapping key AllowAllParametersOfDeclarationOnNextLine twice, which fails with the following error. (Or at least it failed for me, using [email protected]).

Error:

Error reading /<the-path>/.clang-format: Invalid argument
/<the-path>/.clang-format:15:1: error: duplicated mapping key 'AllowAllParametersOfDeclarationOnNextLine'
AllowAllParametersOfDeclarationOnNextLine: false

I am pretty sure that the duplicated line has no effect other than failing clang-format and therefore propose removing one instance of them.

The .clang-format config contained the mapping key `AllowAllParametersOfDeclarationOnNextLine` twice, which fails with the following error. (Or at least it failed for me, using `[email protected]`).

Error:
```plaintext
Error reading /<the-path>/.clang-format: Invalid argument
/<the-path>/.clang-format:15:1: error: duplicated mapping key 'AllowAllParametersOfDeclarationOnNextLine'
AllowAllParametersOfDeclarationOnNextLine: false
```
@cedelavergne-ledger cedelavergne-ledger merged commit f22a4e4 into LedgerHQ:develop Oct 15, 2024
44 of 45 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants