refactor: Add rule no-constant-binary-expression (no-changelog) (#7670)
https://eslint.org/docs/latest/rules/no-constant-binary-expression
This commit is contained in:
@@ -174,7 +174,9 @@ export class SourceControlGitService {
|
||||
}
|
||||
}
|
||||
await this.setGitUserDetails(
|
||||
`${user.firstName} ${user.lastName}` ?? SOURCE_CONTROL_DEFAULT_NAME,
|
||||
user.firstName && user.lastName
|
||||
? `${user.firstName} ${user.lastName}`
|
||||
: SOURCE_CONTROL_DEFAULT_NAME,
|
||||
user.email ?? SOURCE_CONTROL_DEFAULT_EMAIL,
|
||||
);
|
||||
if (sourceControlPreferences.initRepo) {
|
||||
|
||||
Reference in New Issue
Block a user