Closed jomey closed 3 years ago
Check presence for debugLevel key in options using the in operator. Using !options.debugLevel returns false for 0 as an option and does not turn off logging.
debugLevel
in
!options.debugLevel
false
0
Great find! I'll merge and republish shortly.
I just republished the package. Thanks again!
Check presence for
debugLevel
key in options using thein
operator. Using!options.debugLevel
returnsfalse
for0
as an option and does not turn off logging.