Skip to content

Commit

Permalink
fix: Fix config folder location for rustdoc (#372)
Browse files Browse the repository at this point in the history
  • Loading branch information
karolisg authored Dec 8, 2022
1 parent 3321c08 commit 02891d0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions dozer-ingestion/src/test_util.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
use include_dir::{include_dir, Dir};
#[cfg(not(doc))]
static TESTS_CONFIG_DIR: Dir<'_> = include_dir!("config/tests/local");
#[cfg(doc)]
static TESTS_CONFIG_DIR: Dir<'_> = include_dir!("../config/tests/local");

pub fn load_config(file_name: &str) -> &str {
TESTS_CONFIG_DIR
Expand Down

0 comments on commit 02891d0

Please sign in to comment.