Added sender details customization for welcome emails #27192
Quality Gate failed
Failed conditions
4.1% Duplication on New Code (required ≤ 3%)
Annotations
sonarqubecloud / SonarCloud Code Analysis
Prefer `node:assert/strict` over `assert/strict`.
See more on https://sonarcloud.io/project/issues?id=TryGhost_Ghost&issues=AZ1koAdS6XBGhgATe2Vf&open=AZ1koAdS6XBGhgATe2Vf&pullRequest=27192
Check warning on line 18 in ghost/core/core/server/services/member-welcome-emails/service.js
sonarqubecloud / SonarCloud Code Analysis
`VERIFIED_SENDER_PROPERTIES` should be a `Set`, and use `VERIFIED_SENDER_PROPERTIES.has()` to check existence or non-existence.
See more on https://sonarcloud.io/project/issues?id=TryGhost_Ghost&issues=AZ1koAXH6XBGhgATe2Vd&open=AZ1koAXH6XBGhgATe2Vd&pullRequest=27192
sonarqubecloud / SonarCloud Code Analysis
Extract this nested ternary operation into an independent statement.
See more on https://sonarcloud.io/project/issues?id=TryGhost_Ghost&issues=AZ1koAd06XBGhgATe2Vg&open=AZ1koAd06XBGhgATe2Vg&pullRequest=27192
Check warning on line 220 in ghost/core/core/server/services/member-welcome-emails/service.js
sonarqubecloud / SonarCloud Code Analysis
Use 'Object.hasOwn()' instead of 'Object.prototype.hasOwnProperty.call()'.
See more on https://sonarcloud.io/project/issues?id=TryGhost_Ghost&issues=AZ1koAXH6XBGhgATe2Ve&open=AZ1koAXH6XBGhgATe2Ve&pullRequest=27192