Skip to content

Commit

Permalink
fix: add back skip filter over avoid-contracts
Browse files Browse the repository at this point in the history
  • Loading branch information
dutterbutter committed Nov 5, 2024
1 parent 7bb66e6 commit 0026e47
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion crates/compilers/src/zksync/compile/project.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,12 @@ impl<'a> ProjectCompiler<'a> {
/// multiple `jobs`, see [`crate::Project::set_solc_jobs()`].
pub fn with_sources(
project: &'a Project<ZkSolcCompiler, ZkArtifactOutput>,
sources: Sources,
mut sources: Sources,
) -> Result<Self> {
println!("wtf bro");
if let Some(filter) = &project.sparse_output {
sources.retain(|f, _| filter.is_match(f))
}
let graph = Graph::resolve_sources(&project.paths, sources)?;
let (sources, edges) = graph.into_sources_by_version(
project.offline,
Expand Down

0 comments on commit 0026e47

Please sign in to comment.