Skip to content

Commit

Permalink
Pass kwarg for validate_record when called from CLI (#174)
Browse files Browse the repository at this point in the history
  • Loading branch information
onerandomusername authored Mar 20, 2023
1 parent 59550c8 commit f89b5d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/installer/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def _main(cli_args: Sequence[str], program: Optional[str] = None) -> None:

with WheelFile.open(args.wheel) as source:
if args.validate_record != "none":
source.validate_record(args.validate_record == "all")
source.validate_record(validate_contents=args.validate_record == "all")
destination = SchemeDictionaryDestination(
scheme_dict=_get_scheme_dict(source.distribution, prefix=args.prefix),
interpreter=sys.executable,
Expand Down

0 comments on commit f89b5d9

Please sign in to comment.