Skip to content

Commit db3a126

Browse files
committed
fix
1 parent d849de7 commit db3a126

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rewatch/src/watcher.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ async fn async_watch(
9393

9494
for event in events {
9595
// if there is a file named rewatch.lock in the events path, we can quit the watcher
96-
if let Some(path) = event.paths.iter().find(|path| path.ends_with("rewatch.lock")) {
96+
if let Some(_) = event.paths.iter().find(|path| path.ends_with("rewatch.lock")) {
9797
match event.kind {
9898
EventKind::Remove(_) => {
9999
if show_progress {

0 commit comments

Comments
 (0)