Skip to content

Commit

Permalink
Don't create LICENSE if other was specified
Browse files Browse the repository at this point in the history
  • Loading branch information
lkubb committed Nov 13, 2023
1 parent 2c676c9 commit d704be1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/saltext/cli/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,8 @@ def main(
if "__pycache__" in src.parts:
# We're not interested in python pyc cache files
continue
if license == "other" and "LICENSE" in src.parts:
continue
dst_parts = []
templating_context["loader"] = loader
for part in src.relative_to(project_template_path).parts:
Expand Down

0 comments on commit d704be1

Please sign in to comment.