We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a08bf6 commit 66b6eb9Copy full SHA for 66b6eb9
src/docbuilder/options.rs
@@ -93,14 +93,17 @@ impl DocBuilderOptions {
93
94
pub fn check_paths(&self) -> Result<()> {
95
if !self.destination.exists() {
96
- bail!("destionation path '{}' does not exist", self.destination.display());
+ bail!("destination path '{}' does not exist", self.destination.display());
97
}
98
if !self.chroot_path.exists() {
99
bail!("chroot path '{}' does not exist", self.chroot_path.display());
100
101
if !self.crates_io_index_path.exists() {
102
bail!("crates.io-index path '{}' does not exist", self.crates_io_index_path.display());
103
104
+ if !self.sources_path.exists() {
105
+ bail!("sources path '{}' does not exist", self.sources_path.display());
106
+ }
107
Ok(())
108
109
0 commit comments