Skip to content

Commit

Permalink
move path to a function
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesmelville-gds committed May 4, 2023
1 parent bbdbd96 commit 14e1fe3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cloudformation_docs/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@

from . import core

baseTemplatePath = os.path.join(os.path.dirname(f.name), 'README.jinja')
def baseTemplatePath(f):
return os.path.join(os.path.dirname(f.name), 'README.jinja')

@click.command(context_settings={"ignore_unknown_options": True})
@click.option("--create-readme", is_flag=True, show_default=True, default=False, help="Write a README.md alongside the template")
Expand Down

0 comments on commit 14e1fe3

Please sign in to comment.