Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pkg/cli/file_tracker.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ func (ft *FileTracker) StageAllFiles(verbose bool) error {
fileTrackerLog.Printf("Staging %d tracked files", len(allFiles))
if len(allFiles) == 0 {
if verbose {
fmt.Println("No files to stage")
fmt.Fprintln(os.Stderr, console.FormatInfoMessage("No files to stage"))
}
return nil
}
Expand Down
2 changes: 1 addition & 1 deletion pkg/cli/pr_command.go
Original file line number Diff line number Diff line change
Expand Up @@ -767,7 +767,7 @@ func transferPR(prURL, targetRepo string, verbose bool) error {
// createPR creates a pull request using GitHub CLI and returns the PR number
func createPR(branchName, title, body string, verbose bool) (int, string, error) {
if verbose {
fmt.Printf("Creating PR: %s\n", title)
fmt.Fprintln(os.Stderr, console.FormatProgressMessage(fmt.Sprintf("Creating PR: %s", title)))
}

// Get the current repository info to ensure PR is created in the correct repo
Expand Down
6 changes: 3 additions & 3 deletions pkg/cli/run_workflow_validation.go
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ func validateRemoteWorkflow(workflowName string, repoOverride string, verbose bo
}

if verbose {
fmt.Printf("Checking if workflow '%s' exists in repository '%s'...\n", lockFileName, repoOverride)
fmt.Fprintln(os.Stderr, console.FormatProgressMessage(fmt.Sprintf("Checking if workflow '%s' exists in repository '%s'...", lockFileName, repoOverride)))
}

// Use gh CLI to list workflows in the target repository
Expand All @@ -312,8 +312,8 @@ func validateRemoteWorkflow(workflowName string, repoOverride string, verbose bo
for _, wf := range workflows {
if strings.HasSuffix(wf.Path, lockFileName) {
if verbose {
fmt.Printf("Found workflow '%s' in repository (path: %s, state: %s)\n",
wf.Name, wf.Path, wf.State)
fmt.Fprintln(os.Stderr, console.FormatProgressMessage(fmt.Sprintf("Found workflow '%s' in repository (path: %s, state: %s)",
wf.Name, wf.Path, wf.State)))
}
return nil
}
Expand Down
Loading