We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ceab1a commit feab9e3Copy full SHA for feab9e3
crates/emmylua_check/src/init.rs
@@ -5,7 +5,7 @@ use emmylua_code_analysis::{
5
};
6
7
fn root_from_configs(config_paths: &Vec<PathBuf>, fallback: &PathBuf) -> PathBuf {
8
- if config_paths.len() > 1 {
+ if config_paths.len() != 1 {
9
fallback.clone()
10
} else {
11
let config_path = &config_paths[0];
0 commit comments