fix(core): drop needless return in test secret key path

This commit is contained in:
t8y2 committed 2026-09-24 22:43:48 +08:00
1 parent ccfb108aa1
commit ab468350ec
1 file changed
+1 -1
@@ -491,7 +491,7 @@ fn default_key_path() -> Option<std::path::PathBuf> {
// file; their auto-provisioned fallback lives in the system temp dir.
#[cfg(test)]
{
return Some(std::env::temp_dir().join("dbx-test-secret.key"));
Some(std::env::temp_dir().join("dbx-test-secret.key"))
}
#[cfg(not(test))]
{