File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff 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)
3636func 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
Original file line number Diff line number Diff line change @@ -315,10 +315,10 @@ func TestBuildOrchestrator_GovernanceOverridesSafeOutputMaxima(t *testing.T) {
315315
316316func 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/**" ,
You can’t perform that action at this time.
0 commit comments