Use ternary expressions to shorten code in src/core/editor/pdf_editor.js#21459
Conversation
…r.js` This makes setting a few Dictionary entries a little bit shorter, which shouldn't hurt. (Part of this code isn't fully covered by tests, so it improves overall code coverage as well.)
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #21459 +/- ##
==========================================
+ Coverage 89.76% 89.78% +0.01%
==========================================
Files 260 260
Lines 66066 66058 -8
==========================================
+ Hits 59304 59308 +4
+ Misses 6762 6750 -12
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
/botio browsertest |
From: Bot.io (Windows)ReceivedCommand cmd_browsertest from @Snuffleupagus received. Current queue size: 0 Live output at: http://54.193.163.58:8877/a37cad57bc000a6/output.txt |
From: Bot.io (Linux m4)ReceivedCommand cmd_browsertest from @Snuffleupagus received. Current queue size: 0 Live output at: http://54.241.84.105:8877/b530dc9a7b225ed/output.txt |
From: Bot.io (Linux m4)SuccessFull output at http://54.241.84.105:8877/b530dc9a7b225ed/output.txt Total script time: 18.34 mins
|
From: Bot.io (Windows)FailedFull output at http://54.193.163.58:8877/a37cad57bc000a6/output.txt Total script time: 46.86 mins
Image differences available at: http://54.193.163.58:8877/a37cad57bc000a6/reftest-analyzer.html#web=eq.log |
|
The Windows ref-test "failures" are likely caused by a Firefox version update on the bot. |
|
Thanks! |
This makes setting a few Dictionary entries a little bit shorter, which shouldn't hurt.
(Part of this code isn't fully covered by tests, so it improves overall code coverage as well.)