mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-10-10 03:30:59 +00:00
Merge remote-tracking branch 'origin/main'
This commit is contained in:
commit
015fe94c29
1 changed files with 2 additions and 2 deletions
|
|
@ -36,7 +36,7 @@ impl Storage {
|
|||
|
||||
#[must_use]
|
||||
pub fn secrets_path(&self) -> PathBuf {
|
||||
self.root.join("secrets.json")
|
||||
self.root.join("vaults").join("default").join("secrets.json")
|
||||
}
|
||||
|
||||
#[must_use]
|
||||
|
|
@ -153,7 +153,7 @@ mod tests {
|
|||
);
|
||||
assert_eq!(
|
||||
storage.secrets_path(),
|
||||
std::path::Path::new("/tmp/fabro-data/secrets.json")
|
||||
std::path::Path::new("/tmp/fabro-data/vaults/default/secrets.json")
|
||||
);
|
||||
assert_eq!(
|
||||
storage.store_dir(),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue