From 2a59de4780584b06893bb209d4f1820cd2a2d9b0 Mon Sep 17 00:00:00 2001 From: Michael Ripley Date: Tue, 25 Jul 2023 08:31:57 -0500 Subject: [PATCH] Fix a mistake made in #531 (#532) I had initially patterned the new license checks on `OsiOnly` and `FsfOnly` before realizing that perhaps deny!() didn't make sense here, and I removed it (or so I thought). It seems I blundered and left one in--sorry. I believe this deny!() shouldn't be here. Apologies for the mistake... I thought I'd double-checked my diff but it seems I did a poor job of it. (Also, thanks for catching that other mistake I made in #531 Jake) --- src/licenses.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/licenses.rs b/src/licenses.rs index 030084d3..775c27a5 100644 --- a/src/licenses.rs +++ b/src/licenses.rs @@ -159,8 +159,6 @@ fn evaluate_expression( BlanketAgreement::Fsf => { if id.is_fsf_free_libre() { allow!(IsFsfFree); - } else { - deny!(IsFsfFree); } } BlanketAgreement::OsiOnly => {