Skip to content

Commit 4ec9782

Browse files
heliocastrotsteenbe
authored andcommitted
fix(command): Adjust analyze options
Signed-off-by: Helio Chissini de Castro <heliocastro@gmail.com>
1 parent 3592535 commit 4ec9782

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/orthw/commands/analyze.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,6 @@ def analyze(
8888
@click.option("--output-dir", type=click.Path(exists=False), required=False)
8989
@click.option("--work-dir", type=click.Path(), required=True)
9090
@click.pass_context
91-
def __analyze(ctx: click.Context, workdir: str, format_: str, output_dir: str) -> None:
91+
def __analyze(ctx: click.Context, work_dir: str, format_: str, output_dir: str) -> None:
9292
"""Runs ORT Analyzer on given source code directory to find used dependencies."""
93-
analyze(workdir=workdir, format_=format_, output_dir=output_dir, docker=bool("docker" in ctx.obj))
93+
analyze(workdir=work_dir, format_=format_, output_dir=output_dir, docker=bool("docker" in ctx.obj))

0 commit comments

Comments
 (0)