Skip to content

Commit

Permalink
Unwind the ci_efficiency/citadel:buck2_ignore knob
Browse files Browse the repository at this point in the history
Reviewed By: shayne-fletcher

Differential Revision: D59202368

fbshipit-source-id: 66d9ad0ff9423b1eb73166162e2a333ae0ee6b11
  • Loading branch information
ndmitchell authored and facebook-github-bot committed Jul 2, 2024
1 parent b4d6b6d commit f584013
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions btd/src/buck/cells.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ use std::path::Path;

use anyhow::Context as _;
use itertools::Itertools;
use td_util::knobs::check_boolean_knob;
use td_util::prelude::*;
use thiserror::Error;

Expand Down Expand Up @@ -228,13 +227,7 @@ impl CellInfo {
pub fn is_ignored(&self, path: &CellPath) -> bool {
match self.cells.get(&path.cell()) {
None => false,
Some(data) => {
if check_boolean_knob("ci_efficiency/citadel:buck2_ignore") {
data.ignore.is_match(path.path().as_str())
} else {
false
}
}
Some(data) => data.ignore.is_match(path.path().as_str()),
}
}
}
Expand Down

0 comments on commit f584013

Please sign in to comment.