mirror of
https://github.com/tw93/Mole.git
synced 2026-02-04 17:24:45 +00:00
fix: Remove local declaration for scan_pids and scan_temps to ensure accessibility by the cleanup_scan trap.
This commit is contained in:
@@ -385,8 +385,9 @@ clean_project_artifacts() {
|
|||||||
local -a recently_modified=()
|
local -a recently_modified=()
|
||||||
|
|
||||||
# Set up cleanup on interrupt
|
# Set up cleanup on interrupt
|
||||||
local scan_pids=()
|
# Note: Declared without 'local' so cleanup_scan trap can access them
|
||||||
local scan_temps=()
|
scan_pids=()
|
||||||
|
scan_temps=()
|
||||||
# shellcheck disable=SC2329
|
# shellcheck disable=SC2329
|
||||||
cleanup_scan() {
|
cleanup_scan() {
|
||||||
# Kill all background scans
|
# Kill all background scans
|
||||||
|
|||||||
Reference in New Issue
Block a user