Closed matthew-dean closed 1 year ago
Rather than returning an object with { [key]: 'true' | 'false' }, it would be great if the paths-filter could optionally return an array.
Such that, instead of:
{ dir1: 'true', dir2: 'false', dir3: 'true' }
... the paths filter would return:
['dir1', 'dir3']
This could then easily be used for things like matrix strategies.
Oh! Derp! Apparently this is already returned as changes. Thanks!
changes
Rather than returning an object with { [key]: 'true' | 'false' }, it would be great if the paths-filter could optionally return an array.
Such that, instead of:
... the paths filter would return:
This could then easily be used for things like matrix strategies.