Skip to content

Commit

Permalink
refactor: update path formatting in PrimeDownIO
Browse files Browse the repository at this point in the history
  • Loading branch information
Kremilly committed Jul 7, 2024
1 parent ca221ab commit 9555dea
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/prime_down/pd_io.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ impl PrimeDownIO {
let _ = fs::create_dir(&path);
}

format!("{}\\{}", path, &FileUtils::replace_extension(file, "html"))
format!(
"{}/{}", path, &FileUtils::replace_extension(file, "html")
)
}

}

0 comments on commit 9555dea

Please sign in to comment.