Skip to content

Commit

Permalink
fix: clear the log on empty selection
Browse files Browse the repository at this point in the history
  • Loading branch information
kabouzeid committed Apr 15, 2023
1 parent 7c742fd commit 518afdb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/file_watcher.rs
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,8 @@ impl FileWatcher {
},
Err(e) => self.app.send(AppMessage::JobStdout(Err(FileWatcherError::Watcher(e)))).unwrap()
};
} else {
_content_sender.send(Ok("".to_string())).unwrap();
}
}
}
Expand Down

0 comments on commit 518afdb

Please sign in to comment.