Skip to content

Commit

Permalink
fix thinko in previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
zackw committed Oct 17, 2024
1 parent e10e192 commit 6076a32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/scripts/validate-environment
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ def log_commands(ofp, expected_pyver, venv_type, venv_root):
for cmd, program in sorted(programs):
ofp.write(f"{cmd} is {quote_str(program)}\n")

if venv_root is not None and not cmd.startswith(venv_root):
if venv_root is not None and not program.startswith(venv_root):
ofp.write(f"::error::{cmd} not provided by virtualenv\n")
status = 1

Expand Down

0 comments on commit 6076a32

Please sign in to comment.