diff options
author | Akshay <[email protected]> | 2022-05-01 16:12:12 +0100 |
---|---|---|
committer | Akshay <[email protected]> | 2022-05-01 16:12:12 +0100 |
commit | 53b454cd6acba89fe6b5bb39df431afa28a6ee13 (patch) | |
tree | cd70026307c98a33c6ce25b0849d9e297e5bf842 /bin/src/fix.rs | |
parent | 448e6f2096b855bee1464c514dfb73477fb39774 (diff) |
add `ignore` to statix.tomlv0.5.5
Diffstat (limited to 'bin/src/fix.rs')
-rw-r--r-- | bin/src/fix.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/src/fix.rs b/bin/src/fix.rs index 84186d4..da5a470 100644 --- a/bin/src/fix.rs +++ b/bin/src/fix.rs | |||
@@ -51,8 +51,8 @@ pub mod main { | |||
51 | use similar::TextDiff; | 51 | use similar::TextDiff; |
52 | 52 | ||
53 | pub fn all(fix_config: FixConfig) -> Result<(), StatixErr> { | 53 | pub fn all(fix_config: FixConfig) -> Result<(), StatixErr> { |
54 | let vfs = fix_config.vfs()?; | ||
55 | let conf_file = ConfFile::discover(&fix_config.conf_path)?; | 54 | let conf_file = ConfFile::discover(&fix_config.conf_path)?; |
55 | let vfs = fix_config.vfs(conf_file.ignore.as_slice())?; | ||
56 | 56 | ||
57 | let lints = conf_file.lints(); | 57 | let lints = conf_file.lints(); |
58 | let version = conf_file.version()?; | 58 | let version = conf_file.version()?; |