Skip to content

Fix template path in adr help new#5

Merged
backnotprop merged 2 commits into
masterfrom
pickup/help-new-backticks
Jun 18, 2026
Merged

Fix template path in adr help new#5
backnotprop merged 2 commits into
masterfrom
pickup/help-new-backticks

Conversation

@backnotprop

Copy link
Copy Markdown

Summary

  • stop adr help new from executing the literal templates/template.md help text as shell command substitution
  • add a regression test that verifies the template path is shown in help output

Validation

  • reproduced the pre-fix stderr: templates/template.md: No such file or directory
  • verified adr help new now prints file "templates/template.md"
  • make clean check

Cherry-picked from npryce#144, preserving Ryan Ahearn as the original author.

rahearn and others added 2 commits June 17, 2026 17:37
The backticks were being run, resulting in a blank space in output of `adr help new` rather than the formatting that was likely being attempted.

(cherry picked from commit d1ef399)
Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
@backnotprop backnotprop merged commit 3e6dab0 into master Jun 18, 2026
@backnotprop backnotprop deleted the pickup/help-new-backticks branch June 18, 2026 01:30
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.

2 participants