fix(create): remove unused routedToTarget variable
The variable was declared and set but never actually used for anything, just assigned to blank identifier. Clean up dead code from PR #1088. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
committed by
Steve Yegge
parent
12e0caf90e
commit
511129693e
@@ -344,7 +344,6 @@ var createCmd = &cobra.Command{
|
|||||||
// Switch to target repo for multi-repo support (bd-6x6g)
|
// Switch to target repo for multi-repo support (bd-6x6g)
|
||||||
// When routing to a different repo, we bypass daemon mode and use direct storage
|
// When routing to a different repo, we bypass daemon mode and use direct storage
|
||||||
var targetStore storage.Storage
|
var targetStore storage.Storage
|
||||||
var routedToTarget bool
|
|
||||||
if repoPath != "." {
|
if repoPath != "." {
|
||||||
targetBeadsDir := routing.ExpandPath(repoPath)
|
targetBeadsDir := routing.ExpandPath(repoPath)
|
||||||
debug.Logf("DEBUG: Routing to target repo: %s\n", targetBeadsDir)
|
debug.Logf("DEBUG: Routing to target repo: %s\n", targetBeadsDir)
|
||||||
@@ -371,9 +370,7 @@ var createCmd = &cobra.Command{
|
|||||||
// This also bypasses daemon mode since daemon owns the current repo's store
|
// This also bypasses daemon mode since daemon owns the current repo's store
|
||||||
store = targetStore
|
store = targetStore
|
||||||
daemonClient = nil // Bypass daemon for routed issues (T013)
|
daemonClient = nil // Bypass daemon for routed issues (T013)
|
||||||
routedToTarget = true
|
|
||||||
}
|
}
|
||||||
_ = routedToTarget // Used for logging context
|
|
||||||
|
|
||||||
// Check for conflicting flags
|
// Check for conflicting flags
|
||||||
if explicitID != "" && parentID != "" {
|
if explicitID != "" && parentID != "" {
|
||||||
|
|||||||
Reference in New Issue
Block a user