Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
log: rename env var RAD_ALIASES -> RAD_LOG_ALIASES
✗ CI failure Adrian Duke committed 2 months ago
commit 35080dcb7939b15f79752c0834df4c566ff7da5c
parent 49a5520a3fb3acdb3415e3810757181637879fe2
1 failed (1 total) View logs
1 file changed +1 -1
modified crates/radicle-log/src/test.rs
@@ -27,7 +27,7 @@ const BASE58_REGEX: &str = r"z[1-9A-HJ-NP-Za-km-z]{10,}";
impl Logger {
    pub fn new(level: Level) -> Self {
        let mut aliases = HashMap::new();
-
        if let Ok(s) = std::env::var("RAD_ALIASES") {
+
        if let Ok(s) = std::env::var("RAD_LOG_ALIASES") {
            for pair in s.split(',') {
                if let Some((k, v)) = pair.split_once('=') {
                    aliases.insert(k.to_owned(), v.to_owned());