herrjulz / aviator

Merge YAML/JSON files in a in a convenient fashion based on a configuration file called aviator.yml
MIT License
60 stars 7 forks source link

Except not working with for_each and include_sub_dirs #47

Open TheSgrash opened 2 years ago

TheSgrash commented 2 years ago

Hi folks, testing aviator behaviour and going through the code I noticed that the except piece isn't into account when include_sub_dirs is present. Example:

- base: base.yml
  for_each:
    in: configs
    include_sub_dirs: true
    regexp: ".*.yml"
    except: [test.yml]
  to_dir: ++tmp/base_output/++

This can be solved with #46 @herrjulz can you review pls?

TheSgrash commented 2 years ago

46 has been merged... can we have a new release pls @herrjulz ?