the-algorithm icon indicating copy to clipboard operation
the-algorithm copied to clipboard

twml/util: Use a shortened condition

Open shimon-armis opened this issue 2 years ago • 3 comments

Description

This commit enhances an assertion on the log level by using a shortened version for range comparison: x <= y <= z Instead of y => x and y <= z

This exploits the language's syntactic sugar.

shimon-armis avatar Apr 01 '23 21:04 shimon-armis

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

CLAassistant avatar Apr 01 '23 21:04 CLAassistant

יפה אח.

DanielAzulayy avatar Apr 01 '23 21:04 DanielAzulayy

LGTM

emm312 avatar Apr 01 '23 23:04 emm312