Skip to content
This repository has been archived by the owner on Jul 3, 2024. It is now read-only.

Commit

Permalink
refactor(solidity/linter): added missing } in parse_fileafter rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
EnergyCube committed Nov 26, 2023
1 parent 2b19978 commit 021b1e1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions toolchains/solidity/core/crates/linter-lib/src/linter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,8 @@ impl SolidLinter {
return Ok(FileDiags::new(content, Vec::new()));
}
self.parse_content(&filepath, content.as_str())
}

fn _check_is_in_disable_range(&self, diag: &LintDiag, disable_ranges: &[DisableRange]) -> bool {
let mut rules_occurrences = vec![];

Expand Down

0 comments on commit 021b1e1

Please sign in to comment.