Closed armaandhull closed 6 months ago
@z3z1ma please review when you get a chance
was running in to this same problem and made the same fix in my pipx env.
still not entirely sure what the problem is. i would run refactor
once(on a fresh repo) and it would work with a few errors. then, run refactor
again and this error popped up.
This makes sense to me. I was partial to 'homogenizing' all the files (guaranteeing same structure and keys) but am not particular anymore. There was a prior commit I think that made this error possible. This looks like a valid way to exclude though.
This PR is published?
Issue description: When running
refactor
, process any changes to source yaml only when it exists/is defined. It is quite common for intermediate and mart models to not have a source file defined.How to reproduce Run
refactor
on a folder that contains schema yaml file but doesn't contain the source yaml fileAdditional context Should fix #115