mirror of
https://github.com/AikidoSec/safe-chain.git
synced 2026-05-26 12:10:49 +00:00
Apply suggestion from @aikido-pr-checks[bot]
Co-authored-by: aikido-pr-checks[bot] <169896070+aikido-pr-checks[bot]@users.noreply.github.com>
This commit is contained in:
parent
f54c9233e1
commit
ab9840d3bc
1 changed files with 3 additions and 1 deletions
|
|
@ -52,7 +52,9 @@ function cleanupLegacyShellInit() {
|
||||||
let shells;
|
let shells;
|
||||||
try {
|
try {
|
||||||
shells = detectShells();
|
shells = detectShells();
|
||||||
} catch {
|
} catch (error) {
|
||||||
|
// Best-effort cleanup — skip if shell detection fails
|
||||||
|
console.warn("Failed to detect shells for legacy cleanup:", error);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue