edanalytics / earthmover

CLI tool for transforming collections of tabular source data into a variety of text-based data formats via YAML configuration and Jinja templates.
Apache License 2.0
19 stars 2 forks source link

Fix bug that could cause `earthmover clean` to remove earthmover.yaml #114

Closed johncmerfeld closed 1 month ago

johncmerfeld commented 1 month ago

Adds a guardrail around earthmover clean so that it won't delete directories that contain an earthmover config file. This can happen if a user has not explicitly configured an output directory.

Tested locally.

Thanks to @tomreitz for finding this