Skip to content

Commit 4fa9684

Browse files
Copilotmnkiefer
andcommitted
Run make fmt to fix linting issues
- Removed trailing whitespace - Fixed struct field alignment in test code Co-authored-by: mnkiefer <[email protected]>
1 parent 69daba1 commit 4fa9684

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

pkg/campaign/orchestrator.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,14 @@ func convertStringsToAny(strings []string) []any {
2828
// directory structures (both dated and non-dated).
2929
//
3030
// Examples:
31-
// - memory-paths: ["memory/campaigns/project64-*/**", "memory/campaigns/project64/**"]
31+
// - memory-paths: ["memory/campaigns/project64-*/**", "memory/campaigns/project64/**"]
3232
// -> ["project64-*/**", "project64/**"]
3333
// - memory-paths: ["memory/campaigns/project64-*/**"] -> ["project64-*/**"]
3434
// - metrics-glob: "memory/campaigns/project64-*/metrics/*.json" -> ["project64-*/**"]
3535
// - no patterns with wildcards -> ["project64/**"] (fallback to ID)
3636
func extractFileGlobPatterns(spec *CampaignSpec) []string {
3737
var patterns []string
38-
38+
3939
// Extract all patterns from memory-paths
4040
for _, memPath := range spec.MemoryPaths {
4141
// Remove "memory/campaigns/" prefix if present

pkg/campaign/orchestrator_test.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -315,10 +315,10 @@ func TestBuildOrchestrator_GovernanceOverridesSafeOutputMaxima(t *testing.T) {
315315

316316
func TestExtractFileGlobPatterns(t *testing.T) {
317317
tests := []struct {
318-
name string
319-
spec *CampaignSpec
320-
expectedGlobs []string
321-
expectedLogMsg string
318+
name string
319+
spec *CampaignSpec
320+
expectedGlobs []string
321+
expectedLogMsg string
322322
}{
323323
{
324324
name: "flexible pattern matching both dated and non-dated",
@@ -343,7 +343,7 @@ func TestExtractFileGlobPatterns(t *testing.T) {
343343
{
344344
name: "multiple patterns in memory-paths",
345345
spec: &CampaignSpec{
346-
ID: "go-file-size-reduction-project64",
346+
ID: "go-file-size-reduction-project64",
347347
MemoryPaths: []string{
348348
"memory/campaigns/go-file-size-reduction-project64-*/**",
349349
"memory/campaigns/go-file-size-reduction-project64/**",

0 commit comments

Comments
 (0)