Skip to content

Commit b496c1f

Browse files
committed
make fmt
1 parent d0a6465 commit b496c1f

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

pkg/campaign/orchestrator.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ func BuildOrchestrator(spec *CampaignSpec, campaignFilePath string) (*workflow.W
3636
markdownBuilder := &strings.Builder{}
3737
markdownBuilder.WriteString("# Campaign Orchestrator\n\n")
3838
markdownBuilder.WriteString(fmt.Sprintf("This workflow orchestrates the '%s' campaign.\n\n", name))
39-
39+
4040
// Track whether we have any meaningful campaign details
4141
hasDetails := false
42-
42+
4343
if spec.TrackerLabel != "" {
4444
markdownBuilder.WriteString(fmt.Sprintf("- Tracker label: `%s`\n", spec.TrackerLabel))
4545
hasDetails = true
@@ -60,12 +60,12 @@ func BuildOrchestrator(spec *CampaignSpec, campaignFilePath string) (*workflow.W
6060
markdownBuilder.WriteString(fmt.Sprintf("- Metrics glob: `%s`\n", spec.MetricsGlob))
6161
hasDetails = true
6262
}
63-
63+
6464
// Return nil if the campaign spec has no meaningful details for the prompt
6565
if !hasDetails {
6666
return nil, ""
6767
}
68-
68+
6969
markdownBuilder.WriteString("\nUse these details to coordinate workers, update metrics, and track progress for this campaign.\n")
7070

7171
data := &workflow.WorkflowData{

pkg/cli/compile_command.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@ func CompileWorkflows(config CompileConfig) ([]*workflow.WorkflowData, error) {
442442
// and compile it via the standard workflow pipeline.
443443
if !noEmit {
444444
orchestratorData, orchestratorPath := campaign.BuildOrchestrator(spec, resolvedFile)
445-
445+
446446
// Only compile orchestrator if BuildOrchestrator returned valid data
447447
// (it returns nil if the campaign has no meaningful prompt content)
448448
if orchestratorData != nil {
@@ -754,7 +754,7 @@ func CompileWorkflows(config CompileConfig) ([]*workflow.WorkflowData, error) {
754754
// and compile it via the standard workflow pipeline.
755755
if !noEmit {
756756
orchestratorData, orchestratorPath := campaign.BuildOrchestrator(spec, file)
757-
757+
758758
// Only compile orchestrator if BuildOrchestrator returned valid data
759759
// (it returns nil if the campaign has no meaningful prompt content)
760760
if orchestratorData != nil {

0 commit comments

Comments
 (0)