Skip to content

Commit

Permalink
read author info from env if available
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobi-De committed Nov 23, 2024
1 parent 6b4b936 commit 5ed52e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/falco_cli/start_project.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,8 @@ def resolve_blueprint(blueprint: str, *, use_local: bool = False) -> tuple[str,


def get_authors_info() -> tuple[str, str]:
default_author_name = "Tobi DEGNON"
default_author_email = "tobidegnon@proton.me"
default_author_name = os.getenv("AUTHOR_NAME") or "Tobi DEGNON"
default_author_email = os.getenv("AUTHOR_EMAIL") or "tobidegnon@proton.me"
git_config_cmd = ["git", "config", "--global", "--get"]
try:
user_name_cmd = subprocess.run(
Expand Down

0 comments on commit 5ed52e0

Please sign in to comment.