Skip to content

Commit

Permalink
Fixes variable shadowing.
Browse files Browse the repository at this point in the history
  • Loading branch information
tommie committed Dec 27, 2023
1 parent 5ed833b commit 5183c5f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deps/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,10 +126,10 @@ def build_gn_args():

return gnargs

def subprocess_check_call(cmdargs, *args, **kwargs):
def subprocess_check_call(cmdargs, *pargs, **kwargs):
if args.verbose:
print(sys.argv[0], ">", " ".join(cmd), file=sys.stderr)
subprocess.check_call(cmd(cmdargs), *args, **kwargs)
subprocess.check_call(cmd(cmdargs), *pargs, **kwargs)

def cmd(args):
return ["cmd", "/c"] + args if is_windows else args
Expand Down

0 comments on commit 5183c5f

Please sign in to comment.