Skip to content

fix: resolve SC2157 and SC2034 ShellCheck findings#25

Merged
claude[bot] merged 1 commit intomainfrom
claude/issue-23-20260403-0000
Apr 3, 2026
Merged

fix: resolve SC2157 and SC2034 ShellCheck findings#25
claude[bot] merged 1 commit intomainfrom
claude/issue-23-20260403-0000

Conversation

@claude
Copy link
Copy Markdown
Contributor

@claude claude bot commented Apr 3, 2026

Summary

  • SC2157 (all 3 scripts): Hoist GITHUB_ORG/GITHUB_DEFAULT_OWNER conditional logic into _ws_org_line/_ws_owner_line variables before the WS_CONF heredoc, then interpolate them inside it. The config file output is byte-identical to before.
  • SC2034 (xubuntu + fedora only): Remove unused END_MARKER variable. These scripts derive end_check dynamically via ${marker_check/>>>/<<<} parameter expansion; END_MARKER was never referenced.

shellcheck --severity=warning --shell=bash passes on all three scripts.

Closes #23

Generated with Claude Code

- SC2157 (all 3): hoist GITHUB_ORG/GITHUB_DEFAULT_OWNER conditionals into
  _ws_org_line/_ws_owner_line variables before the WS_CONF heredoc, then
  interpolate variables inside it; output is byte-identical
- SC2034 (xubuntu + fedora): remove unused END_MARKER variable (these scripts
  derive end_check dynamically via parameter expansion, unlike crostini)

Closes #23

Co-authored-by: Christopher Jon Pitzi <cpitzi@users.noreply.github.com>
@claude claude bot merged commit b9edeed into main Apr 3, 2026
@claude claude bot deleted the claude/issue-23-20260403-0000 branch April 3, 2026 00:03
@claude claude bot mentioned this pull request Apr 3, 2026
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix ShellCheck findings: SC2157 and SC2034

0 participants