mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-08-28 05:27:41 +00:00
fix(sandbox): canonicalize cached Bash path
This commit is contained in:
parent
6261c3b0fc
commit
50a6cd3637
1 changed files with 1 additions and 2 deletions
|
|
@ -92,8 +92,7 @@ impl LocalSandbox {
|
|||
}
|
||||
};
|
||||
|
||||
let _ = self.bash_path.set(resolved.clone());
|
||||
Ok(resolved)
|
||||
Ok(self.bash_path.get_or_init(|| resolved).clone())
|
||||
}
|
||||
|
||||
/// Verify the resolved executable is non-login Bash.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue