diff options
author | Go MAEDA <maeda@farend.jp> | 2025-06-08 02:12:29 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2025-06-08 02:12:29 +0000 |
commit | 40ab48325e765a309d9eaad3f1d318611ffa342b (patch) | |
tree | c78906804b5efd9238a515175c8d69b16eb360cb /vendor/plugins/coderay-0.9.2/lib/coderay | |
parent | bb6b8e1e43b0412aa00b317c1827e1cf0caf96f1 (diff) | |
download | redmine-40ab48325e765a309d9eaad3f1d318611ffa342b.tar.gz redmine-40ab48325e765a309d9eaad3f1d318611ffa342b.zip |
Replace nil check using ternary operator with safe navigation operator when accessing hashes (#41884).
Using the ternary operator for nil checking caused a runtime error in the Style/SafeNavigation cop during `rubocop --regenerate-todo` with RuboCop 1.76.0. Replacing it with the safe navigation operator avoids the error.
git-svn-id: https://svn.redmine.org/redmine/trunk@23824 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'vendor/plugins/coderay-0.9.2/lib/coderay')
0 files changed, 0 insertions, 0 deletions