Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## PR Checklist Please check if your PR fulfills the following requirements: - [x] The commit message follows our guidelines: CONTRIBUTING.md#commit - [ ] Tests for the changes have been added (for bug fixes / features) - [ ] Docs have been added / updated (for bug fixes / features) ## PR Type What kind of change does this PR introduce? <!-- Please check the one that applies to this PR using "x". --> ``` [x] Bugfix [ ] Feature [ ] Code style update (formatting, local variables) [ ] Refactoring (no functional changes, no API changes) [ ] Build related changes [ ] CI related changes [ ] Documentation content changes [ ] Other... Please describe: ``` ## What is the current behavior? The Sonar cloud on the main branch reports six smells on the code. The smells are about - replacing || operator with ?? - returning this as the type of fluent API functions ## What is the new behavior? - Logical Or operator (||) is replaced for coalescence operator (??) - We set this as the return type of fluent functions ## Does this PR introduce a breaking change? ``` [ ] Yes [x] No ``` ## Other information https://sonarcloud.io/project/issues?resolved=false&id=ngworker_lumberjack
- Loading branch information