fix(kugetsu): remove duplicate update_queue_item_state to use fixed version from kugetsu-index.sh #171
Reference in New Issue
Block a user
Delete Branch "fix/issue-170-duplicate-update-queue"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Remove the duplicate update_queue_item_state() definition from the main kugetsu script so it uses the fixed version from kugetsu-index.sh.
Problem
Issue #170: The main kugetsu script had its own update_queue_item_state() definition that overwrote the fixed version from kugetsu-index.sh. This happened because kugetsu sources kugetsu-index.sh first, then later in the same file defined its own version with broken os.system() calls.
Impact
Fix
Remove the duplicate update_queue_item_state() definition from kugetsu. Now kugetsu will use the fixed version from kugetsu-index.sh since that module is sourced before any local function definitions.
Fixes #170
lgtm