Skip to content

Duplicate local lib_path declaration in base_init.sh's import_base_lib #1894

Description

@codeforester

Summary

import_base_lib() declares the same local variable twice in a row.

Details

base_init.sh:341-342:

local lib_path
local lib_path

Impact

Harmless today (Bash tolerates redeclaring a local), but it's a copy-paste artifact that could mask an intended second variable that was never added, and is dead weight in a foundational bootstrap file.

Suggested fix

Remove the duplicate local lib_path line.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or product improvement

Type

No type

Projects

Status
Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions