Skip to content

Commit

Permalink
sorcery-ai suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
aaravm committed Jul 11, 2024
1 parent 9e9a4a7 commit 81e26e6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/src/configuration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ impl Configuration {
}

pub fn set_base_path(&mut self, base_path: &str) -> &mut Self {
if base_path.is_empty() {
panic!("Empty base path");
}
self.base_path = base_path.to_string();
self
}
Expand Down

0 comments on commit 81e26e6

Please sign in to comment.