| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
| const pem = ( | ||
| val !== undefined && val !== null && | ||
| val.pem !== undefined ? val.pem : val); | ||
| val?.pem !== undefined ? val.pem : val); |
There was a problem hiding this comment.
| val?.pem !== undefined ? val.pem : val); | |
| val?.pem ?? val); |
Sorry, something went wrong.
There was a problem hiding this comment.
What if val.pem is null?
Sorry, something went wrong.
There was a problem hiding this comment.
Using ?? would change the current behavior. If we want to keep this a refactoring, we can't use ??. Now, if we know that val.pem can never be null, we can make that change safely - but maybe in a separate commit?
Sorry, something went wrong.
Sorry, something went wrong.
PR-URL: #41337 Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
PR-URL: #41337 Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
PR-URL: #41337 Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
| Back | FazBrowse Home | New Git URL |
Refs: #41170 (review)