Skip to content

Commit

Permalink
Merge branch '295-monorepo-directory-structure-design-proposal' of gi…
Browse files Browse the repository at this point in the history
…thub.com:RedHatProductSecurity/trestle-bot into 295-monorepo-directory-structure-design-proposal
  • Loading branch information
hbraswelrh committed Dec 3, 2024
2 parents 8133f73 + f8c12b7 commit 2df503b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions trestlebot/cli/commands/init.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def call_trestle_init(repo_path: pathlib.Path, debug: bool) -> None:
logger.debug("Initialized trestle project successfully")
else:
logger.error(
f"Initialization failed. Unexpted trestle error: {CmdReturnCodes(return_code).name}"
f"Initialization failed. Unexpected trestle error: {CmdReturnCodes(return_code).name}"
)
sys.exit(ERROR_EXIT_CODE)

Expand Down Expand Up @@ -158,10 +158,10 @@ def init_cmd(
)
logger.debug("Created markdown directories successfully")

# inovke the init command in compliance trestle
# invoke the init command in compliance trestle
call_trestle_init(repo_path, debug)

# generate and write trestle-bot cofig
# generate and write trestle-bot config
config_values = dict(repo_path=repo_path, markdown_dir=markdown_dir)
if default_committer_name:
config_values.update(committer_name=default_committer_name)
Expand Down
2 changes: 1 addition & 1 deletion trestlebot/cli/commands/sync_upstreams.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def load_value_from_ctx(

@click.command(
name="sync-upstreams",
help="sync and validate OSCAL content from upstream repositories.",
help="Sync OSCAL content from upstream repositories.",
)
@click.pass_context
@click.option(
Expand Down

0 comments on commit 2df503b

Please sign in to comment.