Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
bartlomieju committed Nov 21, 2024
1 parent c83a485 commit ee4548d
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions cli/util/file_watcher.rs
Original file line number Diff line number Diff line change
Expand Up @@ -186,12 +186,9 @@ impl WatcherCommunicator {
pub fn show_path_changed(&self, changed_paths: Option<Vec<PathBuf>>) {
if let Some(paths) = changed_paths {
if !paths.is_empty() {
self.print(
format!("Restarting! File change detected: {:?}", paths[0])
.to_string(),
)
self.print(format!("Restarting! File change detected: {:?}", paths[0]))
} else {
self.print(format!("Restarting! File change detected.").to_string())
self.print("Restarting! File change detected.".to_string())
}
}
}
Expand Down

0 comments on commit ee4548d

Please sign in to comment.