Skip to content

Commit 8b486df

Browse files
committed
Fix compilation failure
1 parent b1ca805 commit 8b486df

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/cmd/watch.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,10 @@ where
149149
for dir in &book.config.build.extra_watch_dirs {
150150
let path = dir.canonicalize().unwrap();
151151
if let Err(e) = watcher.watch(&path, Recursive) {
152-
error!("Error while watching extra directory {path:?}:\n {e:?}");
152+
error!(
153+
"Error while watching extra directory {:?}:\n {:?}",
154+
path, e
155+
);
153156
std::process::exit(1);
154157
}
155158
}

0 commit comments

Comments
 (0)