Update 'build.rs'

This commit is contained in:
franklinblanco 2023-04-26 22:27:05 +00:00
parent 9f36da7afe
commit a8743a1d9c
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ type Translations = HashMap<Key, HashMap<Locale, Value>>;
fn read_locales() -> Translations {
let mut translations: Translations = HashMap::new();
dotenvy::dotenv().unwrap();
let build_directory = std::env::var("PWD").unwrap();
let locales = format!("{}/**/locales/**/*.json", build_directory);
println!("Reading {}", &locales);