updating cli.py

This commit is contained in:
2021-11-01 03:23:46 +00:00
parent f2bca8f2e1
commit 9b277b2931

View File

@@ -114,7 +114,7 @@ def new(scope, inputs, dry_run, example):
)
if _name_found:
try:
scoped_page = pages.ScopedPageCreator().create_page(page_creator_options)
scoped_page = pages.ScopedPageCreator(page_creator_options).create_page()
except exceptions.BasePathDoesNotExistError as base_path_does_not_exist_error:
tembo.logger.critical(base_path_does_not_exist_error)
raise SystemExit(1) from base_path_does_not_exist_error