Skip to content

Commit

Permalink
fix: PR review
Browse files Browse the repository at this point in the history
  • Loading branch information
negar-abbasi committed Nov 22, 2023
1 parent 58e53f7 commit 7a61107
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion debug.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
os.chdir(vcs_root / "src")
for command in commands_sequence or [""]:
click.echo(click.style(f"> algokit -v {command}", bold=True), err=True)
run_result = subprocess.run([sys.executable, "-m", "algokit", "-v", *command.split()], check=True)
run_result = subprocess.run([sys.executable, "-m", "algokit", "-v", *command.split()], check=False)
if run_result.returncode != 0:
click.echo(
click.style(
Expand Down
2 changes: 1 addition & 1 deletion src/algokit/core/proc.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def run_interactive(
command_str = " ".join(command)
logger.debug(f"Running '{command_str}' in '{cwd or Path.cwd()}'")

result = subprocess_run(command, cwd=cwd, env=env, check=True)
result = subprocess_run(command, cwd=cwd, env=env, check=False)

if result.returncode == 0:
logger.debug(f"'{command_str}' completed successfully", extra=EXTRA_EXCLUDE_FROM_CONSOLE)
Expand Down

0 comments on commit 7a61107

Please sign in to comment.