Skip to content

Commit ca401c3

Browse files
committed
chore(cli): exclude external files from lint database
Signed-off-by: azjezz <[email protected]>
1 parent 8dbe2e6 commit ca401c3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/commands/lint.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,9 @@ pub fn execute(command: LintCommand, configuration: Configuration) -> Result<Exi
8686
let interner = ThreadedInterner::new();
8787

8888
let database = if !command.path.is_empty() {
89-
database::from_paths(&configuration.source, command.path, !command.semantics_only)?
89+
database::from_paths(&configuration.source, command.path, false)?
9090
} else {
91-
database::load(&configuration.source, !command.semantics_only, !command.semantics_only)?
91+
database::load(&configuration.source, false, false)?
9292
};
9393

9494
let linter = Linter::new(

0 commit comments

Comments
 (0)