Switch to custom templating library
This commit is contained in:
@ -67,13 +67,13 @@ async fn file(cfg: &Config, relative: PathBuf) -> Result<(), Error> {
|
||||
|
||||
match remove_file(&link_path).await {
|
||||
Ok(_) => {
|
||||
info!("removed existing file {:?}", link_path);
|
||||
debug!("removed existing file {:?}", link_path);
|
||||
}
|
||||
Err(e) if e.kind() == ErrorKind::NotFound => {}
|
||||
Err(e) => return Err(e.with_location(&link_path)),
|
||||
};
|
||||
|
||||
info!("linking {:?} to {:?}", link_path, build_path);
|
||||
debug!("linking {:?} to {:?}", link_path, build_path);
|
||||
let symlink_content = if build_path.is_absolute() {
|
||||
build_path
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user