From 3fbde6c4d860fab6fd0df0e770d853eed4075f3d Mon Sep 17 00:00:00 2001 From: aodenis <45949528+aodenis@users.noreply.github.com> Date: Thu, 20 Feb 2025 00:47:36 +0100 Subject: [PATCH] linting fix --- crates/typst-cli/src/watch.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/typst-cli/src/watch.rs b/crates/typst-cli/src/watch.rs index ee18bc639..97eb07d0f 100644 --- a/crates/typst-cli/src/watch.rs +++ b/crates/typst-cli/src/watch.rs @@ -253,11 +253,11 @@ impl Watcher { }; // Never recompile because the output file changed. - return type_relevant + type_relevant && !event .paths .iter() - .all(|path| is_same_file(path, &self.output).unwrap_or(false)); + .all(|path| is_same_file(path, &self.output).unwrap_or(false)) } }