Skip to content

coderabbit: Fix single-quoted strings with intended expansions #2409

@marcusquinn

Description

@marcusquinn

Finding #5: Single-quoted strings with intended expansions

Evidence:
SC2016 flags across supervisor-archived/*, generate-claude-commands.sh and others.

Risk:
Variables not expanded as intended; confusing behavior for maintainers.

Recommended Action:
Where variable interpolation is intended, switch to double quotes; otherwise add a comment or a local shellcheck disable if truly literal:

# Instead of: echo 'User: $name'
echo "User: $name"

# Or if truly literal:
# shellcheck disable=SC2016 # intended literal for documentation
echo 'User: $name'

Source: #2386

Metadata

Metadata

Assignees

No one assigned

    Labels

    auto-dispatchAuto-created from TODO.md tagcoderabbit-pulseDaily CodeRabbit pulse review trackingstatus:doneTask is complete

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions