Skip to main content

suppression_reason

Function suppression_reason 

Source
pub fn suppression_reason() -> Option<SuppressionReason>
Expand description

Returns the reason update checks are suppressed in this process, if any.

A variable set to an explicitly falsey value ("", "0", "false") does not count as set — some shells and CI images export CI=false, and taking that as “we are in CI” would disable the check for ordinary users.