Skip to content

Commit 3273dac

Browse files
gvozdvmozgubenfdking
authored andcommitted
fix: resolve config unwrap error in --help command
1 parent d9fb3fe commit 3273dac

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

crates/cli/src/main.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,9 @@ mod commands;
1313
static ALLOC: jemallocator::Jemalloc = jemallocator::Jemalloc;
1414

1515
fn main() {
16-
let config = FluffConfig::from_root(None, false, None).unwrap();
17-
1816
let cli = Cli::parse();
1917

18+
let config = FluffConfig::from_root(None, false, None).unwrap();
2019
match cli.command {
2120
Commands::Lint(LintArgs { paths, format }) => {
2221
let mut linter = linter(config, format);

0 commit comments

Comments
 (0)