Skip to content

Commit 719e376

Browse files
committed
fix arg name
1 parent 79dee11 commit 719e376

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

cycode/cli/apps/scan/commit_history/commit_history_command.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ def commit_history_command(
2828
add_breadcrumb('commit_history')
2929

3030
logger.debug('Starting commit history scan process, %s', {'path': path, 'commit_range': commit_range})
31-
scan_commit_range(ctx, path=str(path), commit_range=commit_range)
31+
scan_commit_range(ctx, repo_path=str(path), commit_range=commit_range)
3232
except Exception as e:
3333
handle_scan_exception(ctx, e)

cycode/cli/apps/scan/pre_receive/pre_receive_command.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def pre_receive_command(
5757

5858
scan_commit_range(
5959
ctx=ctx,
60-
path=os.getcwd(),
60+
repo_path=os.getcwd(),
6161
commit_range=commit_range,
6262
max_commits_count=configuration_manager.get_pre_receive_max_commits_to_scan_count(command_scan_type),
6363
)

cycode/cli/apps/scan/scan_ci/scan_ci_command.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@
1717
@click.pass_context
1818
def scan_ci_command(ctx: typer.Context) -> None:
1919
add_breadcrumb('ci')
20-
scan_commit_range(ctx, path=os.getcwd(), commit_range=get_commit_range())
20+
scan_commit_range(ctx, repo_path=os.getcwd(), commit_range=get_commit_range())

0 commit comments

Comments
 (0)