I didn't realize I committed that change
This commit is contained in:
parent
2d04dfd0fc
commit
e878c288f9
@ -330,7 +330,7 @@ impl<'a> Exporter<'a> {
|
|||||||
|
|
||||||
/// Export notes using the settings configured on this exporter.
|
/// Export notes using the settings configured on this exporter.
|
||||||
pub fn run(&mut self) -> Result<()> {
|
pub fn run(&mut self) -> Result<()> {
|
||||||
if !self.root.canonicalize().unwrap().exists() {
|
if !self.root.exists() {
|
||||||
return Err(ExportError::PathDoesNotExist {
|
return Err(ExportError::PathDoesNotExist {
|
||||||
path: self.root.clone(),
|
path: self.root.clone(),
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user