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

Commit

Permalink
fix(solidity/linter): fixed lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
0xSwapFeeder authored and 0xmemorygrinder committed Nov 1, 2023
1 parent c3591a1 commit 8224345
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion toolchains/solidity/core/crates/linter-lib/src/linter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ impl SolidLinter {
result
}
pub fn parse_path(&mut self, path: String) -> Vec<LintResult> {
return if Path::new(&path).is_file() {
if Path::new(&path).is_file() {
vec!(self.parse_file(path))
} else {
self.parse_folder(path)
Expand Down

0 comments on commit 8224345

Please sign in to comment.