Radish alpha
r
Radicle CI broker
Radicle
Git (anonymous pull)
Log in to clone via SSH
feat(src/config.rs): make the "env" field for an adapter optional
Lars Wirzenius committed 1 year ago
commit d491111726ae697f0a10a1fd75b894dbd9748729
parent 88e7d75a5943e00e8a09edc23c416ce99c76ee17
1 file changed +3 -0
modified src/config.rs
@@ -99,7 +99,10 @@ impl Config {
#[derive(Debug, Serialize, Deserialize)]
pub struct AdapterConfig {
    pub command: PathBuf,
+

+
    #[serde(default)]
    env: HashMap<String, String>,
+

    #[serde(default)]
    sensitive_env: HashMap<String, Sensitive>,
}