Skip to content

Commit 684743c

Browse files
author
Trong Nhan Mai
committed
chore: fix typos
1 parent 2f8bb3a commit 684743c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/macaron/build_spec_generator/build_command_patcher.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def _patch_commands(
5959
cli_command = effective_cli_parser.parse(cmds)
6060
except CommandLineParseError as error:
6161
logger.error(
62-
"Failed to parse the mvn command %s. Error %s.",
62+
"Failed to parse the cli command %s. Error %s.",
6363
" ".join(cmds),
6464
error,
6565
)

src/macaron/build_spec_generator/cli_command_parser/gradle_cli_parser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,7 @@ def __init__(self) -> None:
452452
"""Initialize the instance."""
453453
self.arg_parser = argparse.ArgumentParser(
454454
description="Parse Gradle CLI command",
455-
prog="mvn",
455+
prog="gradle",
456456
add_help=False,
457457
# https://docs.python.org/3/library/argparse.html#exit-on-error
458458
# Best effort of parsing the build command. Therefore, we don't want to exit on error.

0 commit comments

Comments
 (0)